SDL sends AlertManeuver
together with TTS.Speak. The purpose of this RPC is to notify the embedded navigation system about the next navigation maneuver.
AlertManeuver
.AlertManeuver
dialog with an alert icon and one of the following:softButtons
parameter.Close
soft button if a request without softButtons
is received.SystemContext
behavior for AlertManeuver
in the same way an Alert
is handled.UI.OnSystemContext appID
rules if AlertManeuver
causes SystemContext
updates:
appID
should not be sent for MENU
and HMI_OBSCURED
system contexts. Only apps in FULL
should receive these updates.appID
with UI.OnSystemContext(MENU
or HMI_OBSCURED
), appID
is ignored and the notification is transferred to the application that is in FULL
.appID
parameter should be mandatory for MAIN
and ALERT
values. If no appID
is sent for this case, the notification will be ignored by SDL.If the HMI does not respond to SDL's request, after the default timeout occurs SDL will send GENERIC_ERROR
to the corresponding mobile application.
Name | Type | Mandatory | Additional |
---|---|---|---|
softButtons | Common.SoftButton | false | array: true minsize: 0 maxsize: 3 |
appID | Integer | true |
This RPC has no additional parameter requirements
{ "id": 143, "jsonrpc": "2.0", "method": "Navigation.AlertManeuver", "params": { "softButtons": [ { "type": "TEXT", "text": "Leave Onscreen", "softButtonID": 45, "systemAction": "KEEP_CONTEXT" }, { "type": "TEXT", "text": "Close", "softButtonID": 46, "systemAction": "STEAL_FOCUS" } ], "appID": 96 } }
{ "id" : 143, "jsonrpc" : "2.0", "result" : { "code" : 0, "method" : "Navigation.AlertManeuver" } }
{ "id" : 143, "jsonrpc" : "2.0", "error" : { "code" : 13, "message" : "The command cannot be executed because there is NO app registered with the specified appID", "data" : { "method" : "Navigation.AlertManeuver" } } }