2.2.2 AppInfo Structure
The AppInfo structure is used by platforms implementing the Session Factory protocol, the Launch App protocol, or the Launch Compatible App protocol. The AppInfo structure format is specified as follows.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
PlatformQualifierSize |
PlatformQualifier (variable) |
||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
AppIDSize |
AppID (variable) |
||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
PlatformQualifierSize (1 byte): The length of the PlatformQualifier field, in bytes. The value MUST be greater than zero and less than or equal to 20.
PlatformQualifier (variable): A UTF-8 string that specifies the namespace for the application identifier AppID. This usually refers to an application store or application environment within an OS platform. The string MUST NOT be null-terminated or contain embedded nulls.
AppIDSize (1 byte): The length of the AppID field, in bytes. The value MUST be nonzero.
AppID (variable): A platform-dependent identifier for a specific application. Platforms SHOULD use the smallest identifier size that is practical in order to produce compact designs. This field contains arbitrary binary data up to the length specified in the AppIDSize field.
-
A message containing an AppInfo structure that does not meet any of the preceding field criteria MUST be ignored.