GattCharacteristic.GetDescriptorsForUuidAsync Method

Definition

Overloads

GetDescriptorsForUuidAsync(Guid)

Returns the descriptors whose UUIDs match descriptorUuid.

GetDescriptorsForUuidAsync(Guid, BluetoothCacheMode)

Returns the descriptors whose UUIDs match descriptorUuid with the specified cacheMode.

GetDescriptorsForUuidAsync(Guid)

Returns the descriptors whose UUIDs match 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)

Parameters

descriptorUuid
Guid

Platform::Guid

winrt::guid

The UUID for the descriptors to be retrieved.

Returns

An asynchronous operation that completes with the descriptors whose UUIDs match descriptorUuid.

Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)
App capabilities
bluetooth

Applies to

GetDescriptorsForUuidAsync(Guid, BluetoothCacheMode)

Returns the descriptors whose UUIDs match descriptorUuid with the specified cacheMode.

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)

Parameters

descriptorUuid
Guid

Platform::Guid

winrt::guid

The UUID for the descriptors to be retrieved.

cacheMode
BluetoothCacheMode

The cache mode.

Returns

Returns an asynchronous operation that completes with the descriptors for the descriptorUuid.

Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)
App capabilities
bluetooth

Applies to