Freigeben über


GattDeviceService.GetCharacteristicsForUuidAsync Methode

Definition

Überlädt

GetCharacteristicsForUuidAsync(Guid, BluetoothCacheMode)

Ruft die Characterisitics ab, die Teil dieses GattDeviceService-instance und dem MerkmalUuid zugeordnet sind.

GetCharacteristicsForUuidAsync(Guid)

Ruft die Characterisitics ab, die Teil dieses GattDeviceService-instance und dem MerkmalUuid zugeordnet sind.

GetCharacteristicsForUuidAsync(Guid, BluetoothCacheMode)

Ruft die Characterisitics ab, die Teil dieses GattDeviceService-instance und dem MerkmalUuid zugeordnet sind.

public:
 virtual IAsyncOperation<GattCharacteristicsResult ^> ^ GetCharacteristicsForUuidAsync(Platform::Guid characteristicUuid, BluetoothCacheMode cacheMode) = GetCharacteristicsForUuidAsync;
/// [Windows.Foundation.Metadata.Overload("GetCharacteristicsForUuidWithCacheModeAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<GattCharacteristicsResult> GetCharacteristicsForUuidAsync(winrt::guid const& characteristicUuid, BluetoothCacheMode const& cacheMode);
[Windows.Foundation.Metadata.Overload("GetCharacteristicsForUuidWithCacheModeAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<GattCharacteristicsResult> GetCharacteristicsForUuidAsync(Guid characteristicUuid, BluetoothCacheMode cacheMode);
function getCharacteristicsForUuidAsync(characteristicUuid, cacheMode)
Public Function GetCharacteristicsForUuidAsync (characteristicUuid As Guid, cacheMode As BluetoothCacheMode) As IAsyncOperation(Of GattCharacteristicsResult)

Parameter

characteristicUuid
Guid

Platform::Guid

winrt::guid

Die UUID für die abzurufenden Merkmale.

cacheMode
BluetoothCacheMode

Der Cachemodus.

Gibt zurück

Ein asynchroner Vorgang, der mit einem GattCharacteristicsResult-Objekt abgeschlossen wird.

Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 Creators Update (eingeführt in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v4.0)
App-Funktionen
bluetooth

Gilt für:

GetCharacteristicsForUuidAsync(Guid)

Ruft die Characterisitics ab, die Teil dieses GattDeviceService-instance und dem MerkmalUuid zugeordnet sind.

public:
 virtual IAsyncOperation<GattCharacteristicsResult ^> ^ GetCharacteristicsForUuidAsync(Platform::Guid characteristicUuid) = GetCharacteristicsForUuidAsync;
/// [Windows.Foundation.Metadata.Overload("GetCharacteristicsForUuidAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<GattCharacteristicsResult> GetCharacteristicsForUuidAsync(winrt::guid const& characteristicUuid);
[Windows.Foundation.Metadata.Overload("GetCharacteristicsForUuidAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<GattCharacteristicsResult> GetCharacteristicsForUuidAsync(Guid characteristicUuid);
function getCharacteristicsForUuidAsync(characteristicUuid)
Public Function GetCharacteristicsForUuidAsync (characteristicUuid As Guid) As IAsyncOperation(Of GattCharacteristicsResult)

Parameter

characteristicUuid
Guid

Platform::Guid

winrt::guid

Die UUID für die abzurufenden Merkmale.

Gibt zurück

Ein asynchroner Vorgang, der mit einem GattCharacteristicsResult-Objekt abgeschlossen wird.

Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 Creators Update (eingeführt in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v4.0)
App-Funktionen
bluetooth

Gilt für: