BluetoothGattServerCallback.OnDescriptorReadRequest メソッド

定義

リモート クライアントがローカル記述子の読み取りを要求しました。

[Android.Runtime.Register("onDescriptorReadRequest", "(Landroid/bluetooth/BluetoothDevice;IILandroid/bluetooth/BluetoothGattDescriptor;)V", "GetOnDescriptorReadRequest_Landroid_bluetooth_BluetoothDevice_IILandroid_bluetooth_BluetoothGattDescriptor_Handler")]
public virtual void OnDescriptorReadRequest(Android.Bluetooth.BluetoothDevice? device, int requestId, int offset, Android.Bluetooth.BluetoothGattDescriptor? descriptor);
[<Android.Runtime.Register("onDescriptorReadRequest", "(Landroid/bluetooth/BluetoothDevice;IILandroid/bluetooth/BluetoothGattDescriptor;)V", "GetOnDescriptorReadRequest_Landroid_bluetooth_BluetoothDevice_IILandroid_bluetooth_BluetoothGattDescriptor_Handler")>]
abstract member OnDescriptorReadRequest : Android.Bluetooth.BluetoothDevice * int * int * Android.Bluetooth.BluetoothGattDescriptor -> unit
override this.OnDescriptorReadRequest : Android.Bluetooth.BluetoothDevice * int * int * Android.Bluetooth.BluetoothGattDescriptor -> unit

パラメーター

device
BluetoothDevice

読み取り操作を要求したリモート デバイス

requestId
Int32

要求の ID

offset
Int32

特性の値へのオフセット

descriptor
BluetoothGattDescriptor

読み取る記述子

属性

注釈

リモート クライアントがローカル記述子の読み取りを要求しました。

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

Javaドキュメント。

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

適用対象