Compartir a través de


GattLocalService.CreateCharacteristicAsync Método

Definición

Crea una característica para este servicio local.

public:
 virtual IAsyncOperation<GattLocalCharacteristicResult ^> ^ CreateCharacteristicAsync(Platform::Guid characteristicUuid, GattLocalCharacteristicParameters ^ parameters) = CreateCharacteristicAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<GattLocalCharacteristicResult> CreateCharacteristicAsync(winrt::guid const& characteristicUuid, GattLocalCharacteristicParameters const& parameters);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<GattLocalCharacteristicResult> CreateCharacteristicAsync(Guid characteristicUuid, GattLocalCharacteristicParameters parameters);
function createCharacteristicAsync(characteristicUuid, parameters)
Public Function CreateCharacteristicAsync (characteristicUuid As Guid, parameters As GattLocalCharacteristicParameters) As IAsyncOperation(Of GattLocalCharacteristicResult)

Parámetros

characteristicUuid
Guid

Platform::Guid

winrt::guid

UUID característico.

parameters
GattLocalCharacteristicParameters

Parámetros de características.

Devoluciones

Una operación asincrónica

Atributos

Requisitos de Windows

Características de aplicaciones
bluetooth

Se aplica a