GattLocalService.CreateCharacteristicAsync Metodo

Definizione

Crea una caratteristica per questo servizio locale.

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)

Parametri

characteristicUuid
Guid

Platform::Guid

winrt::guid

UUID caratteristica.

parameters
GattLocalCharacteristicParameters

Parametri delle caratteristiche.

Restituisce

Operazione asincrona

Attributi

Requisiti Windows

Funzionalità dell'app
bluetooth

Si applica a