GattDeviceService.GetCharacteristicsAsync Method

Definition

Overloads

GetCharacteristicsAsync()

Gets the characteristics that are part of this GattDeviceService instance.

GetCharacteristicsAsync(BluetoothCacheMode)

Gets the characteristics that are part of this GattDeviceService instance.

GetCharacteristicsAsync()

Gets the characteristics that are part of this GattDeviceService instance.

public:
 virtual IAsyncOperation<GattCharacteristicsResult ^> ^ GetCharacteristicsAsync() = GetCharacteristicsAsync;
/// [Windows.Foundation.Metadata.Overload("GetCharacteristicsAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<GattCharacteristicsResult> GetCharacteristicsAsync();
[Windows.Foundation.Metadata.Overload("GetCharacteristicsAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<GattCharacteristicsResult> GetCharacteristicsAsync();
function getCharacteristicsAsync()
Public Function GetCharacteristicsAsync () As IAsyncOperation(Of GattCharacteristicsResult)

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

GetCharacteristicsAsync(BluetoothCacheMode)

Gets the characteristics that are part of this GattDeviceService instance.

public:
 virtual IAsyncOperation<GattCharacteristicsResult ^> ^ GetCharacteristicsAsync(BluetoothCacheMode cacheMode) = GetCharacteristicsAsync;
/// [Windows.Foundation.Metadata.Overload("GetCharacteristicsWithCacheModeAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<GattCharacteristicsResult> GetCharacteristicsAsync(BluetoothCacheMode const& cacheMode);
[Windows.Foundation.Metadata.Overload("GetCharacteristicsWithCacheModeAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<GattCharacteristicsResult> GetCharacteristicsAsync(BluetoothCacheMode cacheMode);
function getCharacteristicsAsync(cacheMode)
Public Function GetCharacteristicsAsync (cacheMode As BluetoothCacheMode) As IAsyncOperation(Of GattCharacteristicsResult)

Parameters

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