A request sent by SDL to display a list of choices to the user.
choiceSet
to the user reasonably according to the interactionLayout
.BC.OnResetTimeout
notification to SDL to reset the timeout in case HMI needs more time to get input from user.choiceID
of the chosen option (or manualTextEntry
when using KEYBOARD
layout) in the response to SDL.choiceID
parameter to SDL.A UI.PerformInteraction with a timeout value of zero should not be timed out immediately. Instead, it should use some default timeout value predetermined by the HMI.
Name | Type | Mandatory | Additional |
---|---|---|---|
initialText | Common.TextFieldStruct | false | |
choiceSet | Common.Choice | false | array: true minsize: 1 maxsize: 100 |
vrHelpTitle | String | false | maxlength: 500 |
vrHelp | Common.VrHelpItem | false | array: true minsize: 1 maxsize: 100 |
timeout | Integer | true | minvalue: 5000 maxvalue: 100000 defvalue: 10000 |
interactionLayout | Common.LayoutMode | false | |
appID | Integer | true | |
cancelID | Integer | false |
Name | Type | Mandatory | Additional |
---|---|---|---|
choiceID | Integer | false | minvalue: 0 maxvalue: 2000000000 |
manualTextEntry | String | false | minlength: 0 maxlength: 500 |
{ "id" : 79, "jsonrpc" : "2.0", "method" : "UI.PerformInteraction", "params" : { "initialText" : { "fieldName" : "initialInteractionText", "fieldText" : "Choose the station:" }, "choiceSet" : [ { "choiceID" : 2415, "menuName" : "Sky.FM" }, { "choiceID" : 2416, "menuName" : "Paradise" }, { "choiceID" : 2417, "menuName" : "100 XR" } ], "vrHelp" : [ { "text" : "Sky FM", "image" : { "value" : "tmp/SDL/app/Pandora/icon_5410.jpg", "imageType" : "DYNAMIC" }, "position" : 1 }, { "text" : "Paradise", "image" : { "value" : "tmp/SDL/app/Pandora/icon_5423.jpeg", "imageType" : "DYNAMIC" }, "position" : 2 }, { "text" : "100 XR", "image" : { "value" : "tmp/SDL/app/Pandora/icon_5465.jpeg", "imageType" : "DYNAMIC" }, "position" : 3 } ], "timeout" : 15000, "appID" : 6493 } }
{ "id" : 79, "jsonrpc" : "2.0", "result" : { "choiceID" : 2416, "code" : 0, "method" : "UI.PerformInteraction" } }
{ "id" : 79, "jsonrpc" : "2.0", "error" : { "code" : 10, "message" : "Overlay reached the maximum timeout and closed", "data" : { "method" : "UI.PerformInteraction" } } }