Compartir a través de


GattServiceProviderTrigger.CreateAsync(String, Guid) Método

Definición

Crea un servicio de proveedor GATT.

public:
 static IAsyncOperation<GattServiceProviderTriggerResult ^> ^ CreateAsync(Platform::String ^ triggerId, Platform::Guid serviceUuid);
/// [Windows.Foundation.Metadata.Overload("CreateAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<GattServiceProviderTriggerResult> CreateAsync(winrt::hstring const& triggerId, winrt::guid const& serviceUuid);
[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)

Parámetros

triggerId
String

Platform::String

winrt::hstring

Identificador del desencadenador.

serviceUuid
Guid

Platform::Guid

winrt::guid

Identificador único universal del desencadenador.

Devoluciones

Espere la operación asincrónica para obtener GattServiceProviderTriggerResult.

Atributos

Se aplica a