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
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

Response

Parameters

This RPC has no additional parameter requirements

Sequence Diagrams

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,
    "distanceToManeuverScale" : 265,
    "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