Documentation for this section has not yet been entered.
Get the current Bluetooth scan mode of the local Bluetooth adapter.
The Bluetooth scan mode determines if the local adapter is connectable and/or discoverable from remote Bluetooth devices.
Possible values are: BluetoothAdapter.SCAN_MODE_NONE, BluetoothAdapter.SCAN_MODE_CONNECTABLE, BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE.
If Bluetooth state is not BluetoothAdapter.STATE_ON, this API will return BluetoothAdapter.SCAN_MODE_NONE. After turning on Bluetooth, wait for BluetoothAdapter.ActionStateChanged with BluetoothAdapter.STATE_ON to get the updated value.