ExecuteWrite

data class ExecuteWrite(val device: ClientDevice, val requestId: Int, val execute: Boolean) : ServerGattEvent.ServiceEvent

Execute all pending write operations for this device.

An application must call GattServerAPI.sendResponse to complete the request.

See also

(https://developer.android.com/reference/android/bluetooth/BluetoothGattServerCallback#onExecuteWrite(android.bluetooth.BluetoothDevice,%20int,%20boolean))

Constructors

Link copied to clipboard
constructor(device: ClientDevice, requestId: Int, execute: Boolean)

Properties

Link copied to clipboard
open override val device: ClientDevice

The remote device that has requested the write operations.

Link copied to clipboard

Whether the pending writes should be executed (true) or cancelled (false).

Link copied to clipboard

The Id of the request.