Name | Type | Mandatory | Additional |
---|---|---|---|
navigationTexts | Common.TextFieldStruct | true | array: true minsize: 0 maxsize: 5 |
turnIcon | Common.Image | false | |
nextTurnIcon | Common.Image | false | |
distanceToManeuver | Float | true | minvalue: 0 maxvalue: 1000000000 |
distanceToManeuverScale | Float | true | minvalue: 0 maxvalue: 1000000000 |
maneuverComplete | Boolean | false | |
softButtons | Common.SoftButton | false | array: true minsize: 0 maxsize: 3 |
appID | Integer | true |
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" } } }