DeviceWrapper
Accessor to the platform level Bluetooth device
Accessor to a Web Bluetooth BluetoothDevice. The live JS device is held in the per-target registry under identifier; this wrapper only carries its identifier and name.
Inheritors
Properties
Link copied to clipboard
The BondState of the device
Link copied to clipboard
Identifier of the Bluetooth device
Identifier of the Bluetooth device
Identifier of the Bluetooth device
Identifier 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
Creates a bond with the device (pair)
Link copied to clipboard
Removes the bond from the device (unpair)