Table of Contents

Class DescriptorReadRequestEventArgs

Namespace
Bluetooth.Abstractions.Broadcasting.EventArgs
Assembly
Bluetooth.Abstractions.Broadcasting.dll

Event arguments for descriptor read request events from a client device.

public class DescriptorReadRequestEventArgs : EventArgs
Inheritance
DescriptorReadRequestEventArgs
Inherited Members

Constructors

DescriptorReadRequestEventArgs(IBluetoothConnectedDevice, IBluetoothLocalDescriptor, int)

Initializes a new instance of the DescriptorReadRequestEventArgs class.

public DescriptorReadRequestEventArgs(IBluetoothConnectedDevice device, IBluetoothLocalDescriptor localDescriptor, int offset)

Parameters

device IBluetoothConnectedDevice

The client device making the read request.

localDescriptor IBluetoothLocalDescriptor

The descriptor being read.

offset int

The offset at which to start reading.

Properties

Device

Gets the client device making the read request.

public IBluetoothConnectedDevice Device { get; }

Property Value

IBluetoothConnectedDevice

LocalDescriptor

Gets the descriptor being read.

public IBluetoothLocalDescriptor LocalDescriptor { get; }

Property Value

IBluetoothLocalDescriptor

Offset

Gets the offset at which to start reading.

public int Offset { get; }

Property Value

int

ResponseValue

Gets or sets the value to return to the client. Set this property to provide the response data.

public ReadOnlyMemory<byte>? ResponseValue { get; set; }

Property Value

ReadOnlyMemory<byte>?