@LevelUpApi(contract=INTERNAL) public interface BluetoothAdapterContainer
BluetoothAdapter
.Modifier and Type | Method and Description |
---|---|
BluetoothLeScannerContainer |
getBluetoothLeScannerContainer() |
boolean |
isEnabled()
Return true if Bluetooth is currently enabled and ready for use.
|
BluetoothLeScannerContainer getBluetoothLeScannerContainer()
BluetoothLeScanner
or null if
BluetoothLeScanner is not available.boolean isEnabled()
Equivalent to:
getBluetoothState() == STATE_ON
Requires Manifest.permission.BLUETOOTH