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
newValueReadOnlyMemory<byte>The new value of the characteristic.
oldValueReadOnlyMemory<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
OldValue
Gets the old value as a read-only memory segment.
public ReadOnlyMemory<byte> OldValue { get; }