Skip to content
Aric edited this page Jul 18, 2014 · 1 revision

Success callbacks will return null if Bluetooth is not available.

Enable:

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


Disable:

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


Toggle:

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


Check:

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

Clone this wiki locally