commonMain.dev.bluefalcon.BlueFalconDelegate.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of library-android Show documentation
Show all versions of library-android Show documentation
Kotlin Multiplatform Bluetooth Library
package dev.bluefalcon
interface BlueFalconDelegate {
fun didDiscoverDevice(bluetoothPeripheral: BluetoothPeripheral)
fun didConnect(bluetoothPeripheral: BluetoothPeripheral)
fun didDisconnect(bluetoothPeripheral: BluetoothPeripheral)
fun didDiscoverServices(bluetoothPeripheral: BluetoothPeripheral)
fun didDiscoverCharacteristics(bluetoothPeripheral: BluetoothPeripheral)
fun didCharacteristcValueChanged(
bluetoothPeripheral: BluetoothPeripheral,
bluetoothCharacteristic: BluetoothCharacteristic
)
fun didRssiUpdate(bluetoothPeripheral: BluetoothPeripheral)
fun didUpdateMTU(bluetoothPeripheral: BluetoothPeripheral)
fun didReadDescriptor(
bluetoothPeripheral: BluetoothPeripheral,
bluetoothCharacteristicDescriptor: BluetoothCharacteristicDescriptor
)
}