다음을 통해 공유


INDMessenger.SendProximityDetectionStartAsync 메서드

정의

비동기 근접 검색 시작 메시지에서 지정된 데이터를 보냅니다.

public:
 IAsyncOperation<INDSendResult ^> ^ SendProximityDetectionStartAsync(NDProximityDetectionType pdType, Platform::Array <byte> ^ transmitterChannelBytes, Platform::Array <byte> ^ sessionIDBytes, Platform::Array <byte> ^ challengeDataBytes);
/// [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)

매개 변수

pdType
NDProximityDetectionType

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

transmitterChannelBytes

Byte[]

byte[]

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

sessionIDBytes

Byte[]

byte[]

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

challengeDataBytes

Byte[]

byte[]

챌린지 메시지의 데이터입니다.

반환

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

특성

적용 대상

추가 정보