GattLocalCharacteristic.NotifyValueAsync Methode

Definition

Überlädt

NotifyValueAsync(IBuffer)

Sendet und benachrichtigt alle abonnierten Clients über einen GattSubscribedClient-Wert.

NotifyValueAsync(IBuffer, GattSubscribedClient)

Sendet und benachrichtigt einen GattSubscribedClient über einen Wert.

NotifyValueAsync(IBuffer)

Sendet und benachrichtigt alle abonnierten Clients über einen GattSubscribedClient-Wert.

public:
 virtual IAsyncOperation<IVectorView<GattClientNotificationResult ^> ^> ^ NotifyValueAsync(IBuffer ^ value) = NotifyValueAsync;
/// [Windows.Foundation.Metadata.Overload("NotifyValueAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IVectorView<GattClientNotificationResult>> NotifyValueAsync(IBuffer const& value);
[Windows.Foundation.Metadata.Overload("NotifyValueAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IReadOnlyList<GattClientNotificationResult>> NotifyValueAsync(IBuffer value);
function notifyValueAsync(value)
Public Function NotifyValueAsync (value As IBuffer) As IAsyncOperation(Of IReadOnlyList(Of GattClientNotificationResult))

Parameter

value
IBuffer

Der Puffer, der den Wert enthält, der an gattSubscribedClient gesendet werden soll.

Gibt zurück

Ein asynchroner Vorgang, der mit einer Vektorliste aller GattClientNotificationResult für jeden abonnierten Client abgeschlossen wird.

Attribute

Windows-Anforderungen

App-Funktionen
bluetooth

Gilt für:

NotifyValueAsync(IBuffer, GattSubscribedClient)

Sendet und benachrichtigt einen GattSubscribedClient über einen Wert.

public:
 virtual IAsyncOperation<GattClientNotificationResult ^> ^ NotifyValueAsync(IBuffer ^ value, GattSubscribedClient ^ subscribedClient) = NotifyValueAsync;
/// [Windows.Foundation.Metadata.Overload("NotifyValueForSubscribedClientAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<GattClientNotificationResult> NotifyValueAsync(IBuffer const& value, GattSubscribedClient const& subscribedClient);
[Windows.Foundation.Metadata.Overload("NotifyValueForSubscribedClientAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<GattClientNotificationResult> NotifyValueAsync(IBuffer value, GattSubscribedClient subscribedClient);
function notifyValueAsync(value, subscribedClient)
Public Function NotifyValueAsync (value As IBuffer, subscribedClient As GattSubscribedClient) As IAsyncOperation(Of GattClientNotificationResult)

Parameter

value
IBuffer

Der Puffer, der den Wert enthält, der an gattSubscribedClient gesendet werden soll.

subscribedClient
GattSubscribedClient

Der abonnierte Client benachrichtigt den Wert.

Gibt zurück

Ein asynchroner Vorgang, der mit einem GattClientNotificationResult-Objekt abgeschlossen wird.

Attribute

Windows-Anforderungen

App-Funktionen
bluetooth

Gilt für: