Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
HMI Documentation
ShowConstantTBT

ShowConstantTBT

Type
Function
Sender
SDL
Purpose
Update navigation information of the embedded navigation system.

Request

Parameters

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.

Response

Parameters

This RPC has no additional parameter requirements

Sequence Diagrams

JSON Message Examples

Example Request

{
  "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
  }
}

Example Response

{
  "id" : 543,
  "jsonrpc" : "2.0",
  "result" :
  {
    "code" : 0,
    "method" : "Navigation.ShowConstantTBT"
  }
}

Example Error

{
  "id" : 543,
  "jsonrpc" : "2.0",
  "error" :
  {
    "code" : 5,
    "message" : " A command was aborted",
    "data" :
    {
      "method" : "Navigation.ShowConstantTBT"
    }
  }
}
View on GitHub.com
Previous Section Next Section