GattDescriptor.WriteValueAsync(IBuffer) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
|