BluetoothGattServerCallback.OnDescriptorReadRequest Method

Definition

A remote client has requested to read a local descriptor.

[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

Parameters

device
BluetoothDevice

The remote device that has requested the read operation

requestId
Int32

The Id of the request

offset
Int32

Offset into the value of the characteristic

descriptor
BluetoothGattDescriptor

Descriptor to be read

Attributes

Remarks

Java documentation for android.bluetooth.BluetoothGattServerCallback.onDescriptorReadRequest(android.bluetooth.BluetoothDevice, int, int, android.bluetooth.BluetoothGattDescriptor).

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