Delen via


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.

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)

Parameters

characteristicUuid
Guid

Platform::Guid

winrt::guid

The UUID for the characteristics to be retrieved.

cacheMode
BluetoothCacheMode

The cache mode.

Returns

An asynchronous operation that completes with a GattCharacteristicsResult object.

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

GetCharacteristicsForUuidAsync(Guid)

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

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)

Parameters

characteristicUuid
Guid

Platform::Guid

winrt::guid

The UUID for the characteristics to be retrieved.

Returns

An asynchronous operation that completes with a GattCharacteristicsResult object.

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