2.2.2.4.2.1 Launch Uri Messages
These messages allow you to launch apps on CDP-enabled devices—this simply launches using the LaunchURIAsync API in Windows.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
UriLength |
Uri (variable) |
||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
LaunchLocation |
RequestID |
||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||
|
|
InputDataLength |
||||||||||||||||||||||||||||||
|
InputDataLength |
InputData(variable) |
||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
UriLength (2 bytes): Length of the Uri, not including the null terminator of the string.
Uri (variable): Uri to launch on remote device.
LaunchLocation (2 bytes): One of the following values.
|
Value |
Meaning |
|---|---|
|
Full |
The launched title occupies the full screen. |
|
Fill |
The launched title occupies most of the screen, sharing it with a snapped-location title. |
|
Snapped |
The launched title occupies a small column on the left or right of the screen. |
|
StartView |
The launched title is in the start view. |
|
SystemUI |
The launched title is the system UI. |
|
Default |
The active title is in its default location. |
RequestID (8 bytes): A 64-bit arbitrary number identifying the request. The response ID in the response payload can then be used to correlate responses to requests.
InputDataLength (4 bytes): Length, in bytes, of InputData.
InputData (variable): Optional. BOND.NET serialized data that is passed as a value set to the app launched by the call.