> * **getState**
>
> ```
> enum BluetoothState {
> /** Indicates the local Bluetooth is off */
> STATE_OFF = 0,
> /** Indicates the local Bluetooth is turning on */
> STATE_TURNING_ON = 1,
> /** Indicates the local Bluetooth is on, and ready for use */
> STATE_ON = 2,
> /** Indicates the local Bluetooth is turning off */
> STATE_TURNING_OFF = 3,
> /** Indicates the local Bluetooth is turning LE mode on */
> STATE_BLE_TURNING_ON = 4,
> /** Indicates the local Bluetooth is in LE only mode */
> STATE_BLE_ON = 5,
> /** Indicates the local Bluetooth is turning off LE only mode */
> STATE_BLE_TURNING_OFF = 6
> ```
>
> * **setBluetoothScanMode**
>
> ```
> enum ScanMode {
> /** Indicates the scan mode is none */
> SCAN_MODE_NONE = 0,
> /** Indicates the scan mode is connectable */
> SCAN_MODE_CONNECTABLE = 1,
> /** Indicates the scan mode is general discoverable */
> SCAN_MODE_GENERAL_DISCOVERABLE = 2,
> /** Indicates the scan mode is limited discoverable */
> SCAN_MODE_LIMITED_DISCOVERABLE = 3,
> /** Indicates the scan mode is connectable and general discoverable */
> SCAN_MODE_CONNECTABLE_GENERAL_DISCOVERABLE = 4,
> /** Indicates the scan mode is connectable and limited discoverable */
> SCAN_MODE_CONNECTABLE_LIMITED_DISCOVERABLE = 5
> }
> ```