Freigeben über


BluetoothGattServerCallback.OnExecuteWrite Method

Definition

Execute all pending write operations for this device.

[Android.Runtime.Register("onExecuteWrite", "(Landroid/bluetooth/BluetoothDevice;IZ)V", "GetOnExecuteWrite_Landroid_bluetooth_BluetoothDevice_IZHandler")]
public virtual void OnExecuteWrite (Android.Bluetooth.BluetoothDevice? device, int requestId, bool execute);
[<Android.Runtime.Register("onExecuteWrite", "(Landroid/bluetooth/BluetoothDevice;IZ)V", "GetOnExecuteWrite_Landroid_bluetooth_BluetoothDevice_IZHandler")>]
abstract member OnExecuteWrite : Android.Bluetooth.BluetoothDevice * int * bool -> unit
override this.OnExecuteWrite : Android.Bluetooth.BluetoothDevice * int * bool -> unit

Parameters

device
BluetoothDevice

The remote device that has requested the write operations

requestId
Int32

The Id of the request

execute
Boolean

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

Attributes

Remarks

Java documentation for android.bluetooth.BluetoothGattServerCallback.onExecuteWrite(android.bluetooth.BluetoothDevice, int, boolean).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to