Share via


GattCharacteristic.WriteClientCharacteristicConfigurationDescriptorAsync Method

Definition

Writes the ClientCharacteristicConfigurationDescriptor to the Bluetooth LE device, and if the value to be written represents an indication or a notification and a ValueChanged event handler is registered, enables receiving ValueChanged events from the device.

public:
 virtual IAsyncOperation<GattCommunicationStatus> ^ WriteClientCharacteristicConfigurationDescriptorAsync(GattClientCharacteristicConfigurationDescriptorValue clientCharacteristicConfigurationDescriptorValue) = WriteClientCharacteristicConfigurationDescriptorAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<GattCommunicationStatus> WriteClientCharacteristicConfigurationDescriptorAsync(GattClientCharacteristicConfigurationDescriptorValue const& clientCharacteristicConfigurationDescriptorValue);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<GattCommunicationStatus> WriteClientCharacteristicConfigurationDescriptorAsync(GattClientCharacteristicConfigurationDescriptorValue clientCharacteristicConfigurationDescriptorValue);
function writeClientCharacteristicConfigurationDescriptorAsync(clientCharacteristicConfigurationDescriptorValue)
Public Function WriteClientCharacteristicConfigurationDescriptorAsync (clientCharacteristicConfigurationDescriptorValue As GattClientCharacteristicConfigurationDescriptorValue) As IAsyncOperation(Of GattCommunicationStatus)

Parameters

clientCharacteristicConfigurationDescriptorValue
GattClientCharacteristicConfigurationDescriptorValue

Specifies a new value for the ClientCharacteristicConfigurationDescriptor of this Characteristic object.

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