Description#
The state property provides the state of the device's adapter.
Note: The state of the device's adapter can be changed with the BluetoothAdapter.enable() and BluetoothAdapter.disable() method.
Syntax#
Value#
Return one of these strings.
- "disabled"
- "disabling"
- "enabled"
- "enabling"