Skip to content

Latest commit

 

History

History
35 lines (20 loc) · 668 Bytes

README.md

File metadata and controls

35 lines (20 loc) · 668 Bytes

Cordova-Mobile-Data

This plugin set / gets the Mobile data state.

This Plugin Requires https://github.com/Whebcraft/System_api.git

Install https://github.com/Whebcraft/Cordova-Mobile-Data.git

com.webcraft.mobiledata

Enable:

@return - String, 'enabled'
window.mobiledata.enable({success:dataEnabled});


Disable:

@return - String, 'disabled'
window.mobiledata.disable({success:dataDisable});


Toggle:

@return - String, 'enabled/disabled'
window.mobiledata.toggle({success:dataToggle});


Check:

@return - String, 'enabled/disabled'
window.mobiledata.check({success:dataCheck});