GattDescriptor.WriteValueWithResultAsync(IBuffer) GattDescriptor.WriteValueWithResultAsync(IBuffer) GattDescriptor.WriteValueWithResultAsync(IBuffer) GattDescriptor.WriteValueWithResultAsync(IBuffer) GattDescriptor.WriteValueWithResultAsync(IBuffer) Method

Definition

Performs a Descriptor Value write to a Bluetooth LE device.

public : IAsyncOperation<GattWriteResult> WriteValueWithResultAsync(IBuffer value)
IAsyncOperation<GattWriteResult> WriteValueWithResultAsync(IBuffer value) const;
public IAsyncOperation<GattWriteResult> WriteValueWithResultAsync(IBuffer value)
Public Function WriteValueWithResultAsync(value As IBuffer) As IAsyncOperation(Of GattWriteResult)
Windows.Devices.Bluetooth.GenericAttributeProfile.GattDescriptor.writeValueWithResultAsync(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

Additional features and requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)
Capabilities
bluetooth