AndroidEnvironment
A mock environment that can be used to test the behavior of the Central Manager.
Types
Android permissions.
Android SDK versions.
Properties
The Android SDK version.
A flow emitting the current Bluetooth state.
The local Bluetooth adapter name, or null if the required permission is not granted.
Whether the BLUETOOTH_ADVERTISE permission is granted.
Whether the BLUETOOTH_CONNECT permission is granted.
Whether the BLUETOOTH_SCAN permission is granted.
Whether LE 2M PHY is supported on the device.
Whether LE Coded PHY is supported on the device.
Whether LE Extended Advertising feature is supported.
Whether LE Periodic Advertising feature is supported.
Whether location service is enabled on the device.
Whether the ACCESS_FINE_LOCATION permission is granted.
Whether location is required to scan for Bluetooth LE devices.
Whether multi advertisement is supported by the chipset.
The maximum LE advertising data length in bytes, if LE Extended Advertising feature is supported.
A flow emitting the state of the location service, true when enabled, false otherwise. Location service is required to scan for Bluetooth LE beacons when isLocationRequiredForScanning is true.
Whether the device requires runtime permissions to use Bluetooth.
Whether the device supports runtime permissions.