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
channelIBluetoothRemoteL2CapChannelThe L2CAP channel that received the data.
dataReadOnlyMemory<byte>The data that was received.
Properties
Channel
Gets the L2CAP channel that received the data.
public IBluetoothRemoteL2CapChannel Channel { get; }
Property Value
Data
Gets the data that was received.
public ReadOnlyMemory<byte> Data { get; }