GattCharacteristic.GetDescriptorsForUuidAsync Metode

Definisi

Overload

GetDescriptorsForUuidAsync(Guid)

Mengembalikan deskriptor yang UUID-nya cocok dengan descriptorUuid.

GetDescriptorsForUuidAsync(Guid, BluetoothCacheMode)

Mengembalikan deskriptor yang UUID-nya cocok dengan descriptorUuid dengan cacheMode yang ditentukan.

GetDescriptorsForUuidAsync(Guid)

Mengembalikan deskriptor yang UUID-nya cocok dengan descriptorUuid.

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

Parameter

descriptorUuid
Guid

Platform::Guid

winrt::guid

UUID untuk deskriptor yang akan diambil.

Mengembalikan

Operasi asinkron yang selesai dengan deskriptor yang UUID-nya cocok dengan descriptorUuid.

Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 10 Creators Update (diperkenalkan dalam 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v4.0)
Kemampuan aplikasi
bluetooth

Berlaku untuk

GetDescriptorsForUuidAsync(Guid, BluetoothCacheMode)

Mengembalikan deskriptor yang UUID-nya cocok dengan descriptorUuid dengan cacheMode yang ditentukan.

public:
 virtual IAsyncOperation<GattDescriptorsResult ^> ^ GetDescriptorsForUuidAsync(Platform::Guid descriptorUuid, BluetoothCacheMode cacheMode) = GetDescriptorsForUuidAsync;
/// [Windows.Foundation.Metadata.Overload("GetDescriptorsForUuidWithCacheModeAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<GattDescriptorsResult> GetDescriptorsForUuidAsync(winrt::guid const& descriptorUuid, BluetoothCacheMode const& cacheMode);
[Windows.Foundation.Metadata.Overload("GetDescriptorsForUuidWithCacheModeAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<GattDescriptorsResult> GetDescriptorsForUuidAsync(Guid descriptorUuid, BluetoothCacheMode cacheMode);
function getDescriptorsForUuidAsync(descriptorUuid, cacheMode)
Public Function GetDescriptorsForUuidAsync (descriptorUuid As Guid, cacheMode As BluetoothCacheMode) As IAsyncOperation(Of GattDescriptorsResult)

Parameter

descriptorUuid
Guid

Platform::Guid

winrt::guid

UUID untuk deskriptor yang akan diambil.

cacheMode
BluetoothCacheMode

Mode cache.

Mengembalikan

Mengembalikan operasi asinkron yang selesai dengan deskriptor untuk descriptorUuid.

Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 10 Creators Update (diperkenalkan dalam 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v4.0)
Kemampuan aplikasi
bluetooth

Berlaku untuk