Table of Contents

Class ValueUpdatedEventArgs

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

Event arguments for when a characteristic value is updated.

public class ValueUpdatedEventArgs : EventArgs
Inheritance
ValueUpdatedEventArgs
Inherited Members

Constructors

ValueUpdatedEventArgs(ReadOnlyMemory<byte>, ReadOnlyMemory<byte>)

Initializes a new instance of the ValueUpdatedEventArgs class.

public ValueUpdatedEventArgs(ReadOnlyMemory<byte> newValue, ReadOnlyMemory<byte> oldValue)

Parameters

newValue ReadOnlyMemory<byte>

The new value of the characteristic.

oldValue ReadOnlyMemory<byte>

The old value of the characteristic.

Properties

NewValue

Gets the new value as a read-only memory segment.

public ReadOnlyMemory<byte> NewValue { get; }

Property Value

ReadOnlyMemory<byte>

OldValue

Gets the old value as a read-only memory segment.

public ReadOnlyMemory<byte> OldValue { get; }

Property Value

ReadOnlyMemory<byte>