GattLocalCharacteristic.NotifyValueAsync GattLocalCharacteristic.NotifyValueAsync GattLocalCharacteristic.NotifyValueAsync GattLocalCharacteristic.NotifyValueAsync GattLocalCharacteristic.NotifyValueAsync Method

Definition

Overloads

NotifyValueAsync(IBuffer) NotifyValueAsync(IBuffer) NotifyValueAsync(IBuffer) NotifyValueAsync(IBuffer) NotifyValueAsync(IBuffer)

Send and notifies all subscribed clients a GattSubscribedClient of a value.

NotifyValueAsync(IBuffer, GattSubscribedClient) NotifyValueAsync(IBuffer, GattSubscribedClient) NotifyValueAsync(IBuffer, GattSubscribedClient) NotifyValueAsync(IBuffer, GattSubscribedClient) NotifyValueAsync(IBuffer, GattSubscribedClient)

Sends and notifies a GattSubscribedClient of a value.

NotifyValueAsync(IBuffer) NotifyValueAsync(IBuffer) NotifyValueAsync(IBuffer) NotifyValueAsync(IBuffer) NotifyValueAsync(IBuffer)

Send and notifies all subscribed clients a GattSubscribedClient of a value.

public : IAsyncOperation<IVectorView<GattClientNotificationResult>> NotifyValueAsync(IBuffer value)
IAsyncOperation<IVectorView<GattClientNotificationResult>> NotifyValueAsync(IBuffer value) const;
public IAsyncOperation<IReadOnlyList<GattClientNotificationResult>> NotifyValueAsync(IBuffer value)
Public Function NotifyValueAsync(value As IBuffer) As IAsyncOperation<IReadOnlyList<GattClientNotificationResult>>(Of IVectorView)
Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalCharacteristic.notifyValueAsync(value).done( /* Your success and error handlers */ );

Parameters

value
IBuffer IBuffer IBuffer

The buffer that contains the value to send to the GattSubscribedClient.

Returns

IAsyncOperation<IReadOnlyList<GattClientNotificationResult>> IAsyncOperation<IReadOnlyList<GattClientNotificationResult>> IAsyncOperation<IReadOnlyList<GattClientNotificationResult>>

An asynchronous operation that completes with a vector list of all the GattClientNotificationResult for each subscribed client.

Additional features and requirements

Capabilities
bluetooth

NotifyValueAsync(IBuffer, GattSubscribedClient) NotifyValueAsync(IBuffer, GattSubscribedClient) NotifyValueAsync(IBuffer, GattSubscribedClient) NotifyValueAsync(IBuffer, GattSubscribedClient) NotifyValueAsync(IBuffer, GattSubscribedClient)

Sends and notifies a GattSubscribedClient of a value.

public : IAsyncOperation<GattClientNotificationResult> NotifyValueAsync(IBuffer value, GattSubscribedClient subscribedClient)
IAsyncOperation<GattClientNotificationResult> NotifyValueAsync(IBuffer value, GattSubscribedClient subscribedClient) const;
public IAsyncOperation<GattClientNotificationResult> NotifyValueAsync(IBuffer value, GattSubscribedClient subscribedClient)
Public Function NotifyValueAsync(value As IBuffer, subscribedClient As GattSubscribedClient) As IAsyncOperation(Of GattClientNotificationResult)
Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalCharacteristic.notifyValueAsync(value, subscribedClient).done( /* Your success and error handlers */ );

Parameters

value
IBuffer IBuffer IBuffer

The buffer that contains the value to send to the GattSubscribedClient.

subscribedClient
GattSubscribedClient GattSubscribedClient GattSubscribedClient

The subscribed client notify the value.

Returns

Additional features and requirements

Capabilities
bluetooth