BLEServiceEvent
Represents events emitted by the Bluetooth Low Energy (BLE) service.
Inheritors
Types
Link copied to clipboard
data class CharacteristicChanged(val device: BLEDevice, val gatt: BluetoothGatt, val characteristic: BluetoothGattCharacteristic, val value: ByteArray) : BLEServiceEvent
Represents a characteristic changed event
Link copied to clipboard
Represents an event indicating that connection to a device has been established.
Link copied to clipboard
Represents an event indicating that a device has been discovered
Link copied to clipboard
Event indicating that a BLE device was paired.
Link copied to clipboard
Event indicating that a BLE device was paired.
Link copied to clipboard
Represents an event indicating that a device is disconnected.
Link copied to clipboard
Represents a generic error event.
Link copied to clipboard
Represents an event indicating that scanning has failed.
Link copied to clipboard
data class ServiceDiscovered(val device: BluetoothDevice, val gatt: BluetoothGatt, val status: Int) : BLEServiceEvent