GattDeviceService.GetCharacteristicsAsync Method

Definition

Overloads

GetCharacteristicsAsync()

Gets the characterisitics that are part of this GattDeviceService instance.

GetCharacteristicsAsync(BluetoothCacheMode)

Gets the characterisitics that are part of this GattDeviceService instance.

GetCharacteristicsAsync()

Gets the characterisitics that are part of this GattDeviceService instance.

public:
 virtual IAsyncOperation<GattCharacteristicsResult ^> ^ GetCharacteristicsAsync() = GetCharacteristicsAsync;
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

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

GetCharacteristicsAsync(BluetoothCacheMode)

Gets the characterisitics that are part of this GattDeviceService instance.

public:
 virtual IAsyncOperation<GattCharacteristicsResult ^> ^ GetCharacteristicsAsync(BluetoothCacheMode cacheMode) = GetCharacteristicsAsync;
IAsyncOperation<GattCharacteristicsResult> GetCharacteristicsAsync(BluetoothCacheMode 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

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