INDMessenger INDMessenger INDMessenger INDMessenger Interface
Definition
Sends registration, proximity detection, and license fetch messages between PlayReady-ND receivers and transmitters.
public : interface INDMessengerpublic interface INDMessengerPublic Interface INDMessenger// You can use this interface in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Methods
SendLicenseFetchRequestAsync(Byte[], Byte[]) SendLicenseFetchRequestAsync(Byte[], Byte[]) SendLicenseFetchRequestAsync(Byte[], Byte[]) SendLicenseFetchRequestAsync(Byte[], Byte[])
Sends the specified data in an asynchronous license fetch request message.
public : IAsyncOperation<INDSendResult> SendLicenseFetchRequestAsync(Byte[] sessionIDBytes, Byte[] challengeDataBytes)public IAsyncOperation<INDSendResult> SendLicenseFetchRequestAsync(Byte[] sessionIDBytes, Byte[] challengeDataBytes)Public Function SendLicenseFetchRequestAsync(sessionIDBytes As Byte[], challengeDataBytes As Byte[]) As IAsyncOperation( Of INDSendResult )// You can use this method in JavaScript.
- sessionIDBytes
- Byte[] Byte[] Byte[] Byte[]
The session identifier. The session identifier must be 16 bytes.
- challengeDataBytes
- Byte[] Byte[] Byte[] Byte[]
The data for the challenge message.
The result of the license fetch request.
SendProximityDetectionResponseAsync(NDProximityDetectionType, Byte[], Byte[], Byte[]) SendProximityDetectionResponseAsync(NDProximityDetectionType, Byte[], Byte[], Byte[]) SendProximityDetectionResponseAsync(NDProximityDetectionType, Byte[], Byte[], Byte[]) SendProximityDetectionResponseAsync(NDProximityDetectionType, Byte[], Byte[], Byte[])
Sends the specified data in an asynchronous proximity detection response message.
public : IAsyncOperation<INDSendResult> SendProximityDetectionResponseAsync(NDProximityDetectionType pdType, Byte[] transmitterChannelBytes, Byte[] sessionIDBytes, Byte[] responseDataBytes)public IAsyncOperation<INDSendResult> SendProximityDetectionResponseAsync(NDProximityDetectionType pdType, Byte[] transmitterChannelBytes, Byte[] sessionIDBytes, Byte[] responseDataBytes)Public Function SendProximityDetectionResponseAsync(pdType As NDProximityDetectionType, transmitterChannelBytes As Byte[], sessionIDBytes As Byte[], responseDataBytes As Byte[]) As IAsyncOperation( Of INDSendResult )// You can use this method in JavaScript.
- pdType
- NDProximityDetectionType NDProximityDetectionType NDProximityDetectionType NDProximityDetectionType
The type of proximity detection operation. This value can be UDP, TCP, or Transport-Agnostic.
- transmitterChannelBytes
- Byte[] Byte[] Byte[] Byte[]
The transmitter channel data.
- sessionIDBytes
- Byte[] Byte[] Byte[] Byte[]
The session identifier. The session identifier must be 16 bytes.
- responseDataBytes
- Byte[] Byte[] Byte[] Byte[]
The data for the response message.
The result of the proximity detection response operation.
SendProximityDetectionStartAsync(NDProximityDetectionType, Byte[], Byte[], Byte[]) SendProximityDetectionStartAsync(NDProximityDetectionType, Byte[], Byte[], Byte[]) SendProximityDetectionStartAsync(NDProximityDetectionType, Byte[], Byte[], Byte[]) SendProximityDetectionStartAsync(NDProximityDetectionType, Byte[], Byte[], Byte[])
Sends the specified data in an asynchronous proximity detection start message.
public : IAsyncOperation<INDSendResult> SendProximityDetectionStartAsync(NDProximityDetectionType pdType, Byte[] transmitterChannelBytes, Byte[] sessionIDBytes, Byte[] challengeDataBytes)public IAsyncOperation<INDSendResult> SendProximityDetectionStartAsync(NDProximityDetectionType pdType, Byte[] transmitterChannelBytes, Byte[] sessionIDBytes, Byte[] challengeDataBytes)Public Function SendProximityDetectionStartAsync(pdType As NDProximityDetectionType, transmitterChannelBytes As Byte[], sessionIDBytes As Byte[], challengeDataBytes As Byte[]) As IAsyncOperation( Of INDSendResult )// You can use this method in JavaScript.
- pdType
- NDProximityDetectionType NDProximityDetectionType NDProximityDetectionType NDProximityDetectionType
The type of proximity detection operation. This value can be UDP, TCP, or Transport-Agnostic.
- transmitterChannelBytes
- Byte[] Byte[] Byte[] Byte[]
The transmitter channel data.
- sessionIDBytes
- Byte[] Byte[] Byte[] Byte[]
The session identifier. The session identifier must be 16 bytes.
- challengeDataBytes
- Byte[] Byte[] Byte[] Byte[]
The data for the challenge message.
The result of the proximity detection start operation.
SendRegistrationRequestAsync(Byte[], Byte[]) SendRegistrationRequestAsync(Byte[], Byte[]) SendRegistrationRequestAsync(Byte[], Byte[]) SendRegistrationRequestAsync(Byte[], Byte[])
Sends the specified data in an asynchronous registration request message.
public : IAsyncOperation<INDSendResult> SendRegistrationRequestAsync(Byte[] sessionIDBytes, Byte[] challengeDataBytes)public IAsyncOperation<INDSendResult> SendRegistrationRequestAsync(Byte[] sessionIDBytes, Byte[] challengeDataBytes)Public Function SendRegistrationRequestAsync(sessionIDBytes As Byte[], challengeDataBytes As Byte[]) As IAsyncOperation( Of INDSendResult )// You can use this method in JavaScript.
- sessionIDBytes
- Byte[] Byte[] Byte[] Byte[]
The session identifier. The session identifier must be 16 bytes.
- challengeDataBytes
- Byte[] Byte[] Byte[] Byte[]
The data for the challenge message.
The result of the license fetch request.