Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

SendLocation

Type
Function
Sender
SDL
Purpose
Allow a connected application to send a destination to the embedded navigation system.

Request

Parameters

Name Type Mandatory Additional
appID Integer true
longitudeDegrees Float true minvalue: -180
maxvalue: 180
latitudeDegrees Float true minvalue: -90
maxvalue: 90
locationName String false maxlength: 500
locationDescription String false maxlength: 500
addressLines String false array: true
minsize: 0
maxsize: 4
maxlength: 500
phoneNumber String false maxlength: 500
locationImage Common.Image false

Response

Parameters

This RPC has no additional parameter requirements

Sequence Diagram

Example Request

{
  "id" : 138,
  "jsonrpc" : "2.0",
  "method" : "Navigation.SendLocation",
  "params" :
  {
    "longitudeDegrees" : 139.34,
    "latitudeDegrees" : 35.36,
    "locationName" : "Ford Repair",
    "locationImage" :
    {
         "value" : "tmp/SDL/app/Navi/12345.jpg",
         "imageType" : DYNAMIC
    }
  }
}

Example Response

{
  "id" : 138,
  "jsonrpc" : "2.0",
  "result" :
  {
    "code" : 0,
    "method" : "Navigation.SendLocation"
  }
}

Example Error

{
  "id" : 138,
  "jsonrpc" : "2.0",
  "error" :
  {
    "code" : 22,
    "message" : " The unknown issue occurred ",
    "data" :
    {
      "method" : "Navigation.SendLocation"
    }
  }
}
View on GitHub.com
Previous Section Next Section