BluetoothGattServerCallback.OnDescriptorWriteRequest メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
リモート クライアントがローカル記述子への書き込みを要求しました。
[Android.Runtime.Register("onDescriptorWriteRequest", "(Landroid/bluetooth/BluetoothDevice;ILandroid/bluetooth/BluetoothGattDescriptor;ZZI[B)V", "GetOnDescriptorWriteRequest_Landroid_bluetooth_BluetoothDevice_ILandroid_bluetooth_BluetoothGattDescriptor_ZZIarrayBHandler")]
public virtual void OnDescriptorWriteRequest(Android.Bluetooth.BluetoothDevice? device, int requestId, Android.Bluetooth.BluetoothGattDescriptor? descriptor, bool preparedWrite, bool responseNeeded, int offset, byte[]? value);
[<Android.Runtime.Register("onDescriptorWriteRequest", "(Landroid/bluetooth/BluetoothDevice;ILandroid/bluetooth/BluetoothGattDescriptor;ZZI[B)V", "GetOnDescriptorWriteRequest_Landroid_bluetooth_BluetoothDevice_ILandroid_bluetooth_BluetoothGattDescriptor_ZZIarrayBHandler")>]
abstract member OnDescriptorWriteRequest : Android.Bluetooth.BluetoothDevice * int * Android.Bluetooth.BluetoothGattDescriptor * bool * bool * int * byte[] -> unit
override this.OnDescriptorWriteRequest : Android.Bluetooth.BluetoothDevice * int * Android.Bluetooth.BluetoothGattDescriptor * bool * bool * int * byte[] -> unit
パラメーター
- device
- BluetoothDevice
書き込み操作を要求したリモート デバイス
- requestId
- Int32
要求の ID
- descriptor
- BluetoothGattDescriptor
書き込む記述子。
- preparedWrite
- Boolean
後で実行するためにこの書き込み操作をキューに登録する必要がある場合は true。
- responseNeeded
- Boolean
リモート デバイスに応答が必要な場合は true
- offset
- Int32
値に指定されたオフセット
- value
- Byte[]
クライアントが記述子に割り当てる値
- 属性
注釈
リモート クライアントがローカル記述子への書き込みを要求しました。
アプリケーションは、要求を完了するために BluetoothGattServer#sendResponse を呼び出す必要があります。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。