BluetoothGattServerCallback.OnExecuteWrite メソッド

定義

このデバイスに対して保留中のすべての書き込み操作を実行します。

[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

パラメーター

device
BluetoothDevice

書き込み操作を要求したリモート デバイス

requestId
Int32

要求の ID

execute
Boolean

保留中の書き込みを実行するか (true)、取り消すか (false)

属性

注釈

このデバイスに対して保留中のすべての書き込み操作を実行します。

アプリケーションは、要求を完了するために BluetoothGattServer#sendResponse を呼び出す必要があります。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象