SDL requests to set-up the data for VR help layout, the name and icon for in-application menu and the properties of the touchscreen keyboard (such as providing custom special characters to display at the root level of the keyboard layout).
The request may arrive for the application whether being active or in background on HMI (depends on the Policy Table permissions applicable to mobile application request, by default allowed to operate in all HMI levels except NONE
).
The vrHelp
parameter of the SetGlobalProperties
RPC is used by the system to display the help items on the screen, and the helpPrompt
parameter is used by the system for playing out the associated TTS help prompt.
SDL Core sends SetGlobalProperties
request with specific vrHelp
and vrHelpTitle
values to HMI in the following cases:
SetGlobalProperties
RPC with the vrHelp
and helpPrompt
parameters, then SDL Core shall continue with the existing behavior of forwarding such requests to HMI and SDL Core shall delete its internal list and stop sending SetGlobalProperties
RPC to HMI after each AddCommand
/DeleteCommand
request received from mobile.SetGlobalProperties
RPC with either of vrHelp
or helpPrompt
parameters, then SDL Core shall continue with the existing behavior of forwarding such requests to HMI and SDL Core shall not delete its internal list and shall continue to update the parameter which was not provided by the application. AddCommand
with CommandType = Command
, SDL Core must send updated values of vrHelp
via SetGlobalProperties
to HMI. (Note: AddCommand
requests related to choice set must NOT trigger the update of vrHelp
)autoCompleteText
parameter when forwarding to the HMIautoCompleteText
is present and autoCompleteList
is omitted, SDL Core forwards autoCompleteList
with a single value, taken from autoCompleteText
.appID
.autoCompleteList
for a particular application, the system must delete the previous list and replace it with the new list for that application. vrHelpTitle
parameter) and the list of commands itself (vrHelp
parameter which is an array of VrHelpItem
).menuTitle
parameter) and for the icon (menuIcon
parameter) of this in-application menu. The values for in-application menu and touchscreen keyboard are allowed by SDL Core for navigation type of application only.customKeys
array, HMI must:maskInputCharacters
, the HMI must do the following when displaying the keyboard:Note: HMI should not duplicate special characters on keyboard.
By default vrHelpTitle
value is set to application name.
Notes for HMI expected behavior:
autoCompleteList
per application.autoCompleteList
strings for that application.autoCompleteList
which match the entry.autoCompleteList
strings displayed shall only be limited by the character length constraints of the HMI.autoCompleteList
strings without having to enter the entire string.autoCompleteList
strings, the system shall submit that entry and not require further User input for submission.Name | Type | Mandatory | Additional |
---|---|---|---|
vrHelpTitle | String | false | maxlength: 500 |
vrHelp | Common.VrHelpItem | false | array: true minsize: 1 maxsize: 100 |
menuTitle | String | false | maxlength: 500 |
menuIcon | Common.Image | false | |
keyboardProperties | Common.KeyboardProperties | false | |
appID | Integer | true | |
menuLayout | Common.MenuLayout | false |
In case HMI does not respond to SDL Core request during SDL-default timeout (10 sec), SDL Core returns "GENERIC_ERROR" result code to the corresponding mobile application request.
This RPC has no additional parameter requirements
{ "id" : 116, "jsonrpc" : "2.0", "method" : "UI.SetGlobalProperties", "params" : { "vrHelpTitle" : "Choose the action", "vrHelp" : [ { "text" : "Pause", "image" : { "value" : "tmp/SDL/app/Pandora/icon_1067.jpg", "imageType" : "DYNAMIC" }, "position" : 1 }, { "text" : "Resume", "image" : { "value" : "tmp/SDL/app/Pandora/icon_1083.jpeg", "imageType" : "DYNAMIC" }, "position" : 2 }, { "text" : "Skip", "image" : { "value" : "tmp/SDL/app/Pandora/icon_1013.jpeg", "imageType" : "DYNAMIC" }, "position" : 3 }, { "text" : "Bookmark", "image" : { "value" : "tmp/SDL/app/Pandora/icon_1046.jpeg", "imageType" : "DYNAMIC" }, "position" : 4 } ], "appID" : 53880 } }
{ "id" : 116, "jsonrpc" : "2.0", "result" : { "code" : 0, "method" : "UI.SetGlobalProperties" } }
{ "id" : 116, "jsonrpc" : "2.0", "error" : { "code" : 11, "message" : "Invalid data", "data" : { "method" : "UI.SetGlobalProperties" } } }