Condividi tramite


NDTCPMessenger.SendProximityDetectionStartAsync Metodo

Definizione

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

public:
 virtual IAsyncOperation<INDSendResult ^> ^ SendProximityDetectionStartAsync(NDProximityDetectionType pdType, Platform::Array <byte> ^ transmitterChannelBytes, Platform::Array <byte> ^ sessionIDBytes, Platform::Array <byte> ^ challengeDataBytes) = SendProximityDetectionStartAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<INDSendResult> SendProximityDetectionStartAsync(NDProximityDetectionType const& pdType, winrt::array_view <byte> const& transmitterChannelBytes, winrt::array_view <byte> const& sessionIDBytes, winrt::array_view <byte> const& challengeDataBytes);
/// [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> SendProximityDetectionStartAsync(NDProximityDetectionType const& pdType, winrt::array_view <byte> const& transmitterChannelBytes, winrt::array_view <byte> const& sessionIDBytes, winrt::array_view <byte> const& challengeDataBytes);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<INDSendResult> SendProximityDetectionStartAsync(NDProximityDetectionType pdType, byte[] transmitterChannelBytes, byte[] sessionIDBytes, byte[] challengeDataBytes);
[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> SendProximityDetectionStartAsync(NDProximityDetectionType pdType, byte[] transmitterChannelBytes, byte[] sessionIDBytes, byte[] challengeDataBytes);
function sendProximityDetectionStartAsync(pdType, transmitterChannelBytes, sessionIDBytes, challengeDataBytes)
Public Function SendProximityDetectionStartAsync (pdType As NDProximityDetectionType, transmitterChannelBytes As Byte(), sessionIDBytes As Byte(), challengeDataBytes 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.

challengeDataBytes

Byte[]

byte[]

Dati per il messaggio di verifica.

Restituisce

Risultato dell'operazione di avvio del rilevamento prossimità.

Implementazioni

M:Windows.Media.Protection.PlayReady.INDMessenger.SendProximityDetectionStartAsync(Windows.Media.Protection.PlayReady.NDProximityDetectionType,System.Byte[],System.Byte[],System.Byte[]) M:Windows.Media.Protection.PlayReady.INDMessenger.SendProximityDetectionStartAsync(Windows.Media.Protection.PlayReady.NDProximityDetectionType,byte[],byte[],byte[])
Attributi

Si applica a

Vedi anche