Table of Contents

Class L2CapDataReceivedEventArgs

Namespace
Bluetooth.Abstractions.Scanning.EventArgs
Assembly
Bluetooth.Abstractions.Scanning.dll

Event arguments for the L2CAP data received event.

public class L2CapDataReceivedEventArgs : EventArgs
Inheritance
L2CapDataReceivedEventArgs
Inherited Members

Constructors

L2CapDataReceivedEventArgs(IBluetoothRemoteL2CapChannel, ReadOnlyMemory<byte>)

Initializes a new instance of the L2CapDataReceivedEventArgs class.

public L2CapDataReceivedEventArgs(IBluetoothRemoteL2CapChannel channel, ReadOnlyMemory<byte> data)

Parameters

channel IBluetoothRemoteL2CapChannel

The L2CAP channel that received the data.

data ReadOnlyMemory<byte>

The data that was received.

Properties

Channel

Gets the L2CAP channel that received the data.

public IBluetoothRemoteL2CapChannel Channel { get; }

Property Value

IBluetoothRemoteL2CapChannel

Data

Gets the data that was received.

public ReadOnlyMemory<byte> Data { get; }

Property Value

ReadOnlyMemory<byte>