jsMain.dev.bluefalcon.BlueFalcon.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of blue-falcon Show documentation
Show all versions of blue-falcon Show documentation
Bluetooth Multiplatform Library
package dev.bluefalcon
actual class BlueFalcon actual constructor(context: ApplicationContext, serviceUUID: String?) {
actual val delegates: MutableSet = mutableSetOf()
actual var isScanning: Boolean = false
actual fun connect(bluetoothPeripheral: BluetoothPeripheral, autoConnect: Boolean) {
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
actual fun disconnect(bluetoothPeripheral: BluetoothPeripheral) {
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
actual fun stopScanning() {
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
actual fun scan() {
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
actual fun readCharacteristic(
bluetoothPeripheral: BluetoothPeripheral,
bluetoothCharacteristic: BluetoothCharacteristic
) {
TODO("not implemented")
}
actual fun writeCharacteristic(
bluetoothPeripheral: BluetoothPeripheral,
bluetoothCharacteristic: BluetoothCharacteristic,
value: String,
writeType: Int?
) {
TODO("not implemented")
}
actual fun writeCharacteristic(
bluetoothPeripheral: BluetoothPeripheral,
bluetoothCharacteristic: BluetoothCharacteristic,
value: ByteArray,
writeType: Int?
){
TODO("not implemented")
}
actual fun notifyCharacteristic(
bluetoothPeripheral: BluetoothPeripheral,
bluetoothCharacteristic: BluetoothCharacteristic,
notify: Boolean
) {
TODO("not implemented")
}
actual fun indicateCharacteristic(
bluetoothPeripheral: BluetoothPeripheral,
bluetoothCharacteristic: BluetoothCharacteristic,
indicate: Boolean
) {
TODO("not implemented")
}
actual fun notifyAndIndicateCharacteristic(
bluetoothPeripheral: BluetoothPeripheral,
bluetoothCharacteristic: BluetoothCharacteristic,
enable: Boolean
) {
TODO("not implemented")
}
actual fun readDescriptor(
bluetoothPeripheral: BluetoothPeripheral,
bluetoothCharacteristic: BluetoothCharacteristic,
bluetoothCharacteristicDescriptor: BluetoothCharacteristicDescriptor
) {
TODO("not implemented")
}
actual fun changeMTU(bluetoothPeripheral: BluetoothPeripheral, mtuSize: Int) {
TODO("not implemented")
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy