GattCharacteristic.WriteValueAsync GattCharacteristic.WriteValueAsync GattCharacteristic.WriteValueAsync GattCharacteristic.WriteValueAsync GattCharacteristic.WriteValueAsync Method

Definition

Overloads

WriteValueAsync(IBuffer) WriteValueAsync(IBuffer) WriteValueAsync(IBuffer) WriteValueAsync(IBuffer) WriteValueAsync(IBuffer)

Performs a Characteristic Value write to a Bluetooth LE device.

WriteValueAsync(IBuffer, GattWriteOption) WriteValueAsync(IBuffer, GattWriteOption) WriteValueAsync(IBuffer, GattWriteOption) WriteValueAsync(IBuffer, GattWriteOption) WriteValueAsync(IBuffer, GattWriteOption)

Performs a Characteristic Value write to a Bluetooth LE device.

WriteValueAsync(IBuffer) WriteValueAsync(IBuffer) WriteValueAsync(IBuffer) WriteValueAsync(IBuffer) WriteValueAsync(IBuffer)

Performs a Characteristic 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.GattCharacteristic.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
See also

WriteValueAsync(IBuffer, GattWriteOption) WriteValueAsync(IBuffer, GattWriteOption) WriteValueAsync(IBuffer, GattWriteOption) WriteValueAsync(IBuffer, GattWriteOption) WriteValueAsync(IBuffer, GattWriteOption)

Performs a Characteristic Value write to a Bluetooth LE device.

public : IAsyncOperation<GattCommunicationStatus> WriteValueAsync(IBuffer value, GattWriteOption writeOption)
IAsyncOperation<GattCommunicationStatus> WriteValueAsync(IBuffer value, GattWriteOption writeOption) const;
public IAsyncOperation<GattCommunicationStatus> WriteValueAsync(IBuffer value, GattWriteOption writeOption)
Public Function WriteValueAsync(value As IBuffer, writeOption As GattWriteOption) As IAsyncOperation(Of GattCommunicationStatus)
Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristic.writeValueAsync(value, writeOption).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.

writeOption
GattWriteOption GattWriteOption GattWriteOption

Specifies what type of GATT write should be performed.

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
See also