Condividi tramite


INDMessenger.SendProximityDetectionResponseAsync Metodo

Definizione

Invia i dati specificati in un messaggio di risposta di rilevamento prossimità asincrono.

public:
 IAsyncOperation<INDSendResult ^> ^ SendProximityDetectionResponseAsync(NDProximityDetectionType pdType, Platform::Array <byte> ^ transmitterChannelBytes, Platform::Array <byte> ^ sessionIDBytes, Platform::Array <byte> ^ responseDataBytes);
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<INDSendResult> SendProximityDetectionResponseAsync(NDProximityDetectionType const& pdType, winrt::array_view <byte> const& transmitterChannelBytes, winrt::array_view <byte> const& sessionIDBytes, winrt::array_view <byte> const& responseDataBytes);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("INDMessenger is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
IAsyncOperation<INDSendResult> SendProximityDetectionResponseAsync(NDProximityDetectionType const& pdType, winrt::array_view <byte> const& transmitterChannelBytes, winrt::array_view <byte> const& sessionIDBytes, winrt::array_view <byte> const& responseDataBytes);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<INDSendResult> SendProximityDetectionResponseAsync(NDProximityDetectionType pdType, byte[] transmitterChannelBytes, byte[] sessionIDBytes, byte[] responseDataBytes);
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("INDMessenger is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
public IAsyncOperation<INDSendResult> SendProximityDetectionResponseAsync(NDProximityDetectionType pdType, byte[] transmitterChannelBytes, byte[] sessionIDBytes, byte[] responseDataBytes);
function sendProximityDetectionResponseAsync(pdType, transmitterChannelBytes, sessionIDBytes, responseDataBytes)
Public Function SendProximityDetectionResponseAsync (pdType As NDProximityDetectionType, transmitterChannelBytes As Byte(), sessionIDBytes As Byte(), responseDataBytes As Byte()) As IAsyncOperation(Of INDSendResult)

Parametri

pdType
NDProximityDetectionType

Tipo di operazione di rilevamento prossimità. Questo valore può essere UDP, TCP o Transport-Agnostic.

transmitterChannelBytes

Byte[]

byte[]

Dati del canale del trasmettitore.

sessionIDBytes

Byte[]

byte[]

ID di sessione. L'identificatore di sessione deve essere di 16 byte.

responseDataBytes

Byte[]

byte[]

Dati per il messaggio di risposta.

Restituisce

Risultato dell'operazione di risposta di rilevamento prossimità.

Attributi

Si applica a

Vedi anche