GattCharacteristicNotificationTrigger GattCharacteristicNotificationTrigger GattCharacteristicNotificationTrigger GattCharacteristicNotificationTrigger GattCharacteristicNotificationTrigger Class

Definition

Represents a trigger that launches a background task when an incoming change notification is received for a Bluetooth LE GATT characteristic.

public : sealed class GattCharacteristicNotificationTrigger : IBackgroundTrigger
struct winrt::Windows::ApplicationModel::Background::GattCharacteristicNotificationTrigger : IBackgroundTrigger
public sealed class GattCharacteristicNotificationTrigger : IBackgroundTrigger
Public NotInheritable Class GattCharacteristicNotificationTrigger Implements IBackgroundTrigger
var gattCharacteristicNotificationTrigger = new gattCharacteristicNotificationTrigger(characteristic, eventTriggeringMode);
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Version history

Windows version SDK version Value added
1703 15063 GattCharacteristicNotificationTrigger(GattCharacteristic,BluetoothEventTriggeringMode)
1703 15063 EventTriggeringMode

Constructors

GattCharacteristicNotificationTrigger(GattCharacteristic) GattCharacteristicNotificationTrigger(GattCharacteristic) GattCharacteristicNotificationTrigger(GattCharacteristic) GattCharacteristicNotificationTrigger(GattCharacteristic) GattCharacteristicNotificationTrigger(GattCharacteristic)

Initializes a new instance of the GattCharacteristicNotificationTrigger class.

GattCharacteristicNotificationTrigger(GattCharacteristic, BluetoothEventTriggeringMode) GattCharacteristicNotificationTrigger(GattCharacteristic, BluetoothEventTriggeringMode) GattCharacteristicNotificationTrigger(GattCharacteristic, BluetoothEventTriggeringMode) GattCharacteristicNotificationTrigger(GattCharacteristic, BluetoothEventTriggeringMode) GattCharacteristicNotificationTrigger(GattCharacteristic, BluetoothEventTriggeringMode)

Initializes a new instance of the GattCharacteristicNotificationTrigger class with the specified characteristic and triggering mode.

Properties

Characteristic Characteristic Characteristic Characteristic Characteristic

Gets the GATT characteristic for which value change notifications are desired.

EventTriggeringMode EventTriggeringMode EventTriggeringMode EventTriggeringMode EventTriggeringMode

Gets the mode for the trigger. The mode specifies when the trigger is activated.

See also