NDTCPMessenger.SendProximityDetectionResponseAsync Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mengirim data yang ditentukan dalam pesan respons deteksi kedekatan asinkron.
public:
virtual IAsyncOperation<INDSendResult ^> ^ SendProximityDetectionResponseAsync(NDProximityDetectionType pdType, Platform::Array <byte> ^ transmitterChannelBytes, Platform::Array <byte> ^ sessionIDBytes, Platform::Array <byte> ^ responseDataBytes) = SendProximityDetectionResponseAsync;
/// [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)
Parameter
- pdType
- NDProximityDetectionType
Jenis operasi deteksi kedekatan. Nilai ini bisa UDP, TCP, atau Transport-Agnostic.
- transmitterChannelBytes
-
Byte[]
byte[]
Data saluran pemancar.
- sessionIDBytes
-
Byte[]
byte[]
Pengidentifikasi sesi. Pengidentifikasi sesi harus 16 byte.
- responseDataBytes
-
Byte[]
byte[]
Data untuk pesan respons.
Mengembalikan
Hasil dari operasi respons deteksi kedekatan.
Penerapan
M:Windows.Media.Protection.PlayReady.INDMessenger.SendProximityDetectionResponseAsync(Windows.Media.Protection.PlayReady.NDProximityDetectionType,System.Byte[],System.Byte[],System.Byte[])
M:Windows.Media.Protection.PlayReady.INDMessenger.SendProximityDetectionResponseAsync(Windows.Media.Protection.PlayReady.NDProximityDetectionType,byte[],byte[],byte[])
- Atribut