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.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

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
0

The launched title occupies the full screen.

Fill
1

The launched title occupies most of the screen, sharing it with a snapped-location title.

Snapped
2

The launched title occupies a small column on the left or right of the screen.

StartView
3

The launched title is in the start view.

SystemUI
4

The launched title is the system UI.

Default
5

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.