UI.DeleteCommand represents a request to remove a previously added command (added via UI.AddCommand) from the application's menu.
cmdID
matches the RPC's cmdID
when the user accesses the applications menu.BC.OnResetTimeout
notification to SDL to reset the timeout in case HMI needs more time to process the request.Name | Type | Mandatory | Additional |
---|---|---|---|
cmdID | Integer | true | minvalue: 0 maxvalue: 2000000000 |
appID | Integer | true |
This RPC has no additional parameter requirements
{ "id" : 70, "jsonrpc" : "2.0", "method" : "UI.DeleteCommand", "params" : { "cmdID" : 2318, "appID" : 65409 } }
{ "id" : 70, "jsonrpc" : "2.0", "result" : { "code" : 0, "method" : "UI.DeleteCommand" } }
{ "id" : 70, "jsonrpc" : "2.0", "error" : { "code" : 13, "message" : "One of the provided IDs is not valid", "data" : { "method": "UI.DeleteCommand" } } }