Partager via


GattLocalService.CreateCharacteristicAsync Méthode

Définition

Crée une caractéristique pour ce service 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)

Paramètres

characteristicUuid
Guid

Platform::Guid

winrt::guid

UUID caractéristique.

parameters
GattLocalCharacteristicParameters

Paramètres caractéristiques.

Retours

Opération asynchrone

Attributs

Configuration requise pour Windows

Fonctionnalités de l’application
bluetooth

S’applique à