GattDescriptor.WriteValueAsync(IBuffer) GattDescriptor.WriteValueAsync(IBuffer) GattDescriptor.WriteValueAsync(IBuffer) GattDescriptor.WriteValueAsync(IBuffer) GattDescriptor.WriteValueAsync(IBuffer) Method

Definition

Performs a Descriptor Value write to a Bluetooth LE device.

public : IAsyncOperation<GattCommunicationStatus> WriteValueAsync(IBuffer value)
IAsyncOperation<GattCommunicationStatus> WriteValueAsync(IBuffer value) const;
public IAsyncOperation<GattCommunicationStatus> WriteValueAsync(IBuffer value)
Public Function WriteValueAsync(value As IBuffer) As IAsyncOperation(Of GattCommunicationStatus)
Windows.Devices.Bluetooth.GenericAttributeProfile.GattDescriptor.writeValueAsync(value).done( /* Your success and error handlers */ );

Parameters

value
IBuffer IBuffer 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.

Additional features and requirements

Capabilities
bluetooth