GattDescriptor.ReadValueAsync GattDescriptor.ReadValueAsync GattDescriptor.ReadValueAsync GattDescriptor.ReadValueAsync GattDescriptor.ReadValueAsync Method

Definition

Overloads

ReadValueAsync() ReadValueAsync() ReadValueAsync() ReadValueAsync() ReadValueAsync()

Performs a Descriptor Value read from a value cache maintained by Windows.

ReadValueAsync(BluetoothCacheMode) ReadValueAsync(BluetoothCacheMode) ReadValueAsync(BluetoothCacheMode) ReadValueAsync(BluetoothCacheMode) ReadValueAsync(BluetoothCacheMode)

Performs a Descriptor Value read either from the value cache maintained by Windows, or directly from the device.

ReadValueAsync() ReadValueAsync() ReadValueAsync() ReadValueAsync() ReadValueAsync()

Performs a Descriptor Value read from a value cache maintained by Windows.

public : IAsyncOperation<GattReadResult> ReadValueAsync()
IAsyncOperation<GattReadResult> ReadValueAsync() const;
public IAsyncOperation<GattReadResult> ReadValueAsync()
Public Function ReadValueAsync() As IAsyncOperation(Of GattReadResult)
Windows.Devices.Bluetooth.GenericAttributeProfile.GattDescriptor.readValueAsync().done( /* Your success and error handlers */ );

Returns

The object required to manage the asynchronous operation, which, upon completion, returns a GattReadResult object, which in turn contains the completion status of the asynchronous operation and, if successful, the data read from the device.

Additional features and requirements

Capabilities
bluetooth
See also

ReadValueAsync(BluetoothCacheMode) ReadValueAsync(BluetoothCacheMode) ReadValueAsync(BluetoothCacheMode) ReadValueAsync(BluetoothCacheMode) ReadValueAsync(BluetoothCacheMode)

Performs a Descriptor Value read either from the value cache maintained by Windows, or directly from the device.

public : IAsyncOperation<GattReadResult> ReadValueAsync(BluetoothCacheMode cacheMode)
IAsyncOperation<GattReadResult> ReadValueAsync(BluetoothCacheMode cacheMode) const;
public IAsyncOperation<GattReadResult> ReadValueAsync(BluetoothCacheMode cacheMode)
Public Function ReadValueAsync(cacheMode As BluetoothCacheMode) As IAsyncOperation(Of GattReadResult)
Windows.Devices.Bluetooth.GenericAttributeProfile.GattDescriptor.readValueAsync(cacheMode).done( /* Your success and error handlers */ );

Parameters

cacheMode
BluetoothCacheMode BluetoothCacheMode BluetoothCacheMode

Specifies whether to read the value directly from the device or from a value cache maintained by Windows.

Returns

The object required to manage the asynchronous operation, which, upon completion, returns a GattReadResult object, which in turn contains the completion status of the asynchronous operation and, if successful, the data read from the device.

Additional features and requirements

Capabilities
bluetooth
See also