Scanner
Types
Events detected by the a Bluetooth Connection observer
An indication a com.splendo.kaluga.bluetooth.device.Device was discovered
Properties
The Flow of all the ConnectionEvent detected by the scanner
The Flow of all the DeviceDiscovered detected by the scanner. These are grouped in a list until collected to account for high volumes of events
The Flow of all the Event detected by the scanner
Indicates whether the system supports Bluetooth scanning
Functions
Checks whether the Bluetooth service is currently enabled
Attempts to request the user to enable Bluetooth
Retrieves the list of paired Device This will result in Event.PairedDevicesRetrieved on the events flow
Starts scanning for devices. This will result in Event.DeviceDiscovered or Event.FailedScanning
Starts scanning for changes to the Bluetooth service being enabled This will result in Event.BluetoothEnabled or Event.BluetoothDisabled on the events flow
Starts scanning for changes to permissions related to Bluetooth. This will result in Event.PermissionChanged on the events flow.
Stops scanning for changes to the Bluetooth service being enabled
Stops scanning for changes to permissions related to Bluetooth.
Stops scanning for devices