Version: Smart Feature Phone 3.0

BluetoothAdapter.state

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#

var state = instanceOfBluetoothAdapter.state

Value#

Return one of these strings.

  • "disabled"
  • "disabling"
  • "enabled"
  • "enabling"