Freigeben über


GattLocalService.CreateCharacteristicAsync Methode

Definition

Erstellt ein Merkmal für diesen lokalen Dienst.

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)

Parameter

characteristicUuid
Guid

Platform::Guid

winrt::guid

Die charakteristische UUID.

parameters
GattLocalCharacteristicParameters

Die charakteristischen Parameter.

Gibt zurück

Ein asynchroner Vorgang

Attribute

Windows-Anforderungen

App-Funktionen
bluetooth

Gilt für: