Name | Type | Mandatory | Additional | Description |
---|---|---|---|---|
navigationTexts | Common.TextFieldStruct | true | array: true minsize: 0 maxsize: 5 |
See TextFieldStruct. Uses: navigationText1 navigationText2 ETA totalDistance timeToDestination. |
turnIcon | Common.Image | false | ||
nextTurnIcon | Common.Image | false | ||
distanceToManeuver | Float | true | minvalue: 0 maxvalue: 1000000000 |
Distance (in meters) until next maneuver. May be used to calculate progress bar. |
distanceToManeuverScale | Float | true | minvalue: 0 maxvalue: 1000000000 |
Distance (in meters) from previous maneuver to next maneuver. May be used to calculate progress bar. |
maneuverComplete | Boolean | false | If and when a maneuver has completed while an AlertManeuver is active, SDL will send this value set to TRUE in order to clear the AlertManeuver overlay. If omitted the value should be assumed as FALSE. |
|
softButtons | Common.SoftButton | false | array: true minsize: 0 maxsize: 3 |
Three dynamic SoftButtons available If omitted on supported displays, the currently displayed SoftButton values will not change. |
appID | Integer | true | ID of application related to this RPC. |
This RPC has no additional parameter requirements
{ "id" : 543, "jsonrpc" : "2.0", "method" : "Navigation.ShowConstantTBT", "params" : { "navigationTexts" : [ { "fieldName" : "navigationText1", "fieldText" : "Destination point: Berlin" }, { "fieldName" : "ETA", "fieldText" : "15:45" }, { "fieldName" : "totalDistance", "fieldText" : "658" } ], "turnIcon" : { "value" : "tmp/SDL/app/Navi/icon_3245.jpeg", "imageType" : "DYNAMIC" }, "distanceToManeuver" : 168.5, "distanceToManeuverScale" : 265.75, "softButtons" : { "type" : "TEXT", "text" : "Close", "softButtonID" : 76, "systemAction" : "DEFAULT_ACTION" }, "appID" : 26743 } }
{ "id" : 543, "jsonrpc" : "2.0", "result" : { "code" : 0, "method" : "Navigation.ShowConstantTBT" } }
{ "id" : 543, "jsonrpc" : "2.0", "error" : { "code" : 5, "message" : " A command was aborted", "data" : { "method" : "Navigation.ShowConstantTBT" } } }