GattServiceProviderTrigger GattServiceProviderTrigger GattServiceProviderTrigger GattServiceProviderTrigger GattServiceProviderTrigger Class

Definition

Constructs a Generic Attributes (GATT) service that can be persisted in the background.

public : sealed class GattServiceProviderTrigger : IBackgroundTrigger
struct winrt::Windows::ApplicationModel::Background::GattServiceProviderTrigger : IBackgroundTrigger
public sealed class GattServiceProviderTrigger : IBackgroundTrigger
Public NotInheritable Class GattServiceProviderTrigger Implements IBackgroundTrigger
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Remarks

GATT defines a hierarchical data structure that is exposed to connected Bluetooth low energy (LE) devices.

Properties

AdvertisingParameters AdvertisingParameters AdvertisingParameters AdvertisingParameters AdvertisingParameters

Gets the advertising parameters which control whether the radio is connected/discoverable.

Service Service Service Service Service

Gets the service associated with this trigger.

TriggerId TriggerId TriggerId TriggerId TriggerId

Gets the trigger identifier.

Methods

CreateAsync(String, Guid) CreateAsync(String, Guid) CreateAsync(String, Guid) CreateAsync(String, Guid) CreateAsync(String, Guid)

Creates a GATT provider service.

See also