BluetoothGattServerCallback.OnExecuteWrite メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
このデバイスに対して保留中のすべての書き込み操作を実行します。
[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 を呼び出す必要があります。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。