다음을 통해 공유


INDMessenger.SendProximityDetectionResponseAsync 메서드

정의

지정된 데이터를 비동기 근접 검색 응답 메시지로 보냅니다.

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)

매개 변수

pdType
NDProximityDetectionType

근접 검색 작업의 유형입니다. 이 값은 UDP, TCP 또는 Transport-Agnostic일 수 있습니다.

transmitterChannelBytes

Byte[]

byte[]

송신기 채널 데이터입니다.

sessionIDBytes

Byte[]

byte[]

세션 식별자입니다. 세션 식별자는 16바이트여야 합니다.

responseDataBytes

Byte[]

byte[]

응답 메시지의 데이터입니다.

반환

근접 검색 응답 작업의 결과입니다.

특성

적용 대상

추가 정보