NativeClientBleAPI
class NativeClientBleAPI(gatt: BluetoothGatt, callback: ClientBleGattCallback, val autoConnect: Boolean, val closeOnDisconnect: Boolean) : GattClientAPI
A wrapper around BluetoothGatt and BluetoothGattCallback. As an input it uses methods of BluetoothGatt and as an output callbacks from BluetoothGattCallback.
Constructors
Link copied to clipboard
constructor(gatt: BluetoothGatt, callback: ClientBleGattCallback, autoConnect: Boolean, closeOnDisconnect: Boolean)
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun disableCharacteristicNotification(characteristic: IBluetoothGattCharacteristic): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun enableCharacteristicNotification(characteristic: IBluetoothGattCharacteristic): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun writeCharacteristic(characteristic: IBluetoothGattCharacteristic, value: DataByteArray, writeType: BleWriteType): Boolean
Link copied to clipboard
open override fun writeDescriptor(descriptor: IBluetoothGattDescriptor, value: DataByteArray): Boolean