Android.Bluetooth.BluetoothGattServerCallback.OnDescriptorReadRequest Method
A remote client has requested to read a local descriptor.

Syntax

[Android.Runtime.Register("onDescriptorReadRequest", "(Landroid/bluetooth/BluetoothDevice;IILandroid/bluetooth/BluetoothGattDescriptor;)V", "GetOnDescriptorReadRequest_Landroid_bluetooth_BluetoothDevice_IILandroid_bluetooth_BluetoothGattDescriptor_Handler")]
public virtual void OnDescriptorReadRequest (BluetoothDevice device, int requestId, int offset, BluetoothGattDescriptor descriptor)

Parameters

device
The remote device that has requested the read operation
requestId
The Id of the request
offset
Offset into the value of the characteristic
descriptor
Descriptor to be read

Remarks

A remote client has requested to read a local descriptor.

An application must call BluetoothGattServer.SendResponse(BluetoothDevice, System.Int32, System.Int32, System.Int32, System.Int32) to complete the request.

[Android Documentation]

Requirements

Namespace: Android.Bluetooth
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 18