DeviceWrapper

actual interface DeviceWrapper

Accessor to the BluetoothDevice

Inheritors

expect interface DeviceWrapper

Accessor to the platform level Bluetooth device

actual interface DeviceWrapper

Accessor to the CBPeripheral

Inheritors

actual interface DeviceWrapper

Accessor to the JavaScript Bluetooth device. Not Actually implemented

actual interface DeviceWrapper

Accessor to the Java Bluetooth device. Not Actually implemented

Types

Link copied to clipboard

Bond state of the Device

Properties

Link copied to clipboard

The BondState of the device

Link copied to clipboard
actual abstract val identifier: Identifier
expect abstract val identifier: Identifier

Identifier of the Bluetooth device

actual abstract val identifier: Identifier

Identifier of the Bluetooth device

actual abstract val identifier: Identifier

Identifier of the Bluetooth device

actual abstract val identifier: Identifier

Identifier of the Bluetooth device

Link copied to clipboard
actual abstract val name: String?
expect abstract val name: String?

Name of the Bluetooth device

actual abstract val name: String?

Name of the Bluetooth device

actual abstract val name: String?

Name of the Bluetooth device

actual abstract val name: String?

Name of the Bluetooth device

Functions

Link copied to clipboard
abstract fun connectGatt(context: Context, autoConnect: Boolean, callback: BluetoothGattCallback): BluetoothGattWrapper

Connects to the GATT Server hosted by the BluetoothDevice

Link copied to clipboard
abstract fun createBond()

Creates a bond with the device (pair)

Link copied to clipboard
abstract fun removeBond()

Removes the bond from the device (unpair)