GattServiceProviderTrigger.CreateAsync(String, Guid) GattServiceProviderTrigger.CreateAsync(String, Guid) GattServiceProviderTrigger.CreateAsync(String, Guid) GattServiceProviderTrigger.CreateAsync(String, Guid) GattServiceProviderTrigger.CreateAsync(String, Guid) Method

Definition

Creates a GATT provider service.

public : static IAsyncOperation<GattServiceProviderTriggerResult> CreateAsync(Platform::String triggerId, Platform::Guid serviceUuid)
static IAsyncOperation<GattServiceProviderTriggerResult> CreateAsync(winrt::hstring triggerId, Guid serviceUuid) const;
public static IAsyncOperation<GattServiceProviderTriggerResult> CreateAsync(String triggerId, Guid serviceUuid)
Public Shared Function CreateAsync(triggerId As String, serviceUuid As Guid) As IAsyncOperation(Of GattServiceProviderTriggerResult)
Windows.ApplicationModel.Background.GattServiceProviderTrigger.createAsync(triggerId, serviceUuid).done( /* Your success and error handlers */ );

Parameters

triggerId
String String String

The identifier for the trigger.

serviceUuid
Guid Guid Guid

The universally unique identifier for the trigger.

Returns