device.device.is_bluetooth_on
Declaration
lua
device.is_bluetooth_on()
Description
Check if Bluetooth is enabled.
Parameters
No parameters
Return Values
| Type | Description |
|---|---|
| boolean |
Example
lua
sys.log(device.is_bluetooth_on())