GattServiceProvider.CreateAsync(Guid) GattServiceProvider.CreateAsync(Guid) GattServiceProvider.CreateAsync(Guid) GattServiceProvider.CreateAsync(Guid) GattServiceProvider.CreateAsync(Guid) Method

Definition

Creates a new GATT service with the specified serviceUuid

public : static IAsyncOperation<GattServiceProviderResult> CreateAsync(Platform::Guid serviceUuid)
static IAsyncOperation<GattServiceProviderResult> CreateAsync(Guid serviceUuid) const;
public static IAsyncOperation<GattServiceProviderResult> CreateAsync(Guid serviceUuid)
Public Shared Function CreateAsync(serviceUuid As Guid) As IAsyncOperation(Of GattServiceProviderResult)
Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProvider.createAsync(serviceUuid).done( /* Your success and error handlers */ );

Parameters

serviceUuid
Guid Guid Guid

The service UUID.

Returns

An asynchronous operation that completes with a GattServiceProviderResult object.

Additional features and requirements

Capabilities
bluetooth