GattServiceProviderTrigger.CreateAsync(String, Guid) Method

Definition

Creates a GATT provider service.

[Windows.Foundation.Metadata.Overload("CreateAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<GattServiceProviderTriggerResult> CreateAsync(string triggerId, Guid serviceUuid);
function createAsync(triggerId, serviceUuid)
Public Shared Function CreateAsync (triggerId As String, serviceUuid As Guid) As IAsyncOperation(Of GattServiceProviderTriggerResult)

Parameters

triggerId
String

The identifier for the trigger.

serviceUuid
Guid

The universally unique identifier for the trigger.

Returns

IAsyncOperation<GattServiceProviderTriggerResult>

Await the asynchronous operation to get the GattServiceProviderTriggerResult.

Attributes

Applies to