After opening the menu, the HMI must send a UI.OnSystemContext notification with systemContext: "MENU"
to SDL.
Name | Type | Mandatory | Additional | Description |
---|---|---|---|---|
menuID | Integer | false | minvalue: 1 maxvalue: 2000000000 |
If omitted the HMI opens the app's menu. If set to a sub-menu ID the HMI opens the corresponding sub-menu previously added using UI.AddSubMenu |
appID | Integer | true |
This RPC has no additional parameter requirements
{ "id" : 120, "jsonrpc" : "2.0", "method" : "UI.ShowAppMenu", "params" : { "menuID" : 313, "appID" : 8726 } }
{ "id" : 120, "jsonrpc" : "2.0", "result" : { "code" : 0, "method" : "UI.ShowAppMenu" } }
{ "id" : 176, "jsonrpc" : "2.0", "error" : { "code" : 22, "message" : "Request timeout", "data" : { "method" : "UI.ShowAppMenu" } } }