Dela via


GattDescriptor.WriteValueAsync(IBuffer) Method

Definition

Performs a Descriptor Value write to a Bluetooth LE device.

public:
 virtual IAsyncOperation<GattCommunicationStatus> ^ WriteValueAsync(IBuffer ^ value) = WriteValueAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<GattCommunicationStatus> WriteValueAsync(IBuffer const& value);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<GattCommunicationStatus> WriteValueAsync(IBuffer value);
function writeValueAsync(value)
Public Function WriteValueAsync (value As IBuffer) As IAsyncOperation(Of GattCommunicationStatus)

Parameters

value
IBuffer

A Windows.Storage.Streams.IBuffer object which contains the data to be written to the Bluetooth LE device.

Returns

The object that manages the asynchronous operation, which, upon completion, returns the status with which the operation completed.

Attributes

Windows requirements

App capabilities
bluetooth

Applies to