GattDeviceService.GetCharacteristicsForUuidAsync Method

Definition

Overloads

GetCharacteristicsForUuidAsync(Guid, BluetoothCacheMode)

Gets the characterisitics that are part of this GattDeviceService instance and associated with the characteristicUuid.

GetCharacteristicsForUuidAsync(Guid)

Gets the characterisitics that are part of this GattDeviceService instance and associated with the characteristicUuid.

GetCharacteristicsForUuidAsync(Guid, BluetoothCacheMode)

Gets the characterisitics that are part of this GattDeviceService instance and associated with the characteristicUuid.

[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)

Parameters

characteristicUuid
Guid

The UUID for the characteristics to be retrieved.

cacheMode
BluetoothCacheMode

The cache mode.

Returns

IAsyncOperation<GattCharacteristicsResult>

An asynchronous operation that completes with a GattCharacteristicsResult object.

Attributes

Windows 10 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

GetCharacteristicsForUuidAsync(Guid)

Gets the characterisitics that are part of this GattDeviceService instance and associated with the 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)

Parameters

characteristicUuid
Guid

The UUID for the characteristics to be retrieved.

Returns

IAsyncOperation<GattCharacteristicsResult>

An asynchronous operation that completes with a GattCharacteristicsResult object.

Attributes

Windows 10 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