GattValueChangedEventArgs GattValueChangedEventArgs GattValueChangedEventArgs GattValueChangedEventArgs Class

Definition

Represents the arguments received by a GattCharacteristic.ValueChanged event handler used to process characteristic value change notification and indication events sent by a Bluetooth LE device.

public : sealed class GattValueChangedEventArgs : IGattValueChangedEventArgs
public sealed class GattValueChangedEventArgs : IGattValueChangedEventArgs
Public NotInheritable Class GattValueChangedEventArgs Implements IGattValueChangedEventArgs
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
bluetooth

Properties

CharacteristicValue CharacteristicValue CharacteristicValue CharacteristicValue

Gets the new Characteristic Value.

public : IBuffer CharacteristicValue { get; }
public IBuffer CharacteristicValue { get; }
Public ReadOnly Property CharacteristicValue As IBuffer
var iBuffer = gattValueChangedEventArgs.characteristicValue;
Value
IBuffer IBuffer IBuffer IBuffer

The new Characteristic Value.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
bluetooth

Timestamp Timestamp Timestamp Timestamp

Gets the time at which the system was notified of the Characteristic Value change.

public : DateTime Timestamp { get; }
public DateTimeOffset Timestamp { get; }
Public ReadOnly Property Timestamp As DateTimeOffset
var dateTimeOffset = gattValueChangedEventArgs.timestamp;
Value
DateTime DateTimeOffset DateTimeOffset DateTimeOffset

The time at which the system was notified of the Characteristic Value change.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
bluetooth