API Reference - navigation.launchGuidance
This API allows to work with the navigation guidance feature of the infotainment system.
Input Parameter | |||||
---|---|---|---|---|---|
No input params |
Output Data | ||||
---|---|---|---|---|
Data name | Description | Type | Unit/Values | Example |
launchGuidance | Navigation guidance status. Active or not. |
boolean |
|
true
|
This API allows to work with the navigation guidance feature of the infotainment system.
'waypoints' is an array so you can pass multiple waypoints to create complex navigations. The final destination can be 'locationType': 'coordinates' or 'locationType': 'address' but the waypoints must be only 'locationType': 'coordinates' . Max 9 entries in the array. *Status code stopGuidance: 200 = guidance stopped ; 304 = No active guidance, nothing to stop ; 500 |
503 = Failure to stop guidance* |
Input Parameter | |||||
---|---|---|---|---|---|
Param name | Description | Type | Unit/Values | Example | Required |
action | Type of guidance action. |
Enum of strings |
- startGuidance
- stopGuidance
|
startGuidance
|
true |
navRequestId | ID of the request, this field must be send if |
int |
|
42
|
false |
waypoints[n]
.locationType |
Type of location sent, this field must be send if |
Enum of strings |
- address
- coordinates
|
address
|
false |
waypoints[n]
.number |
Destintion adress street number, this field must be send if |
string |
|
16
|
false |
waypoints[n]
.street |
Destintion adress street name, this field must be send if |
string |
|
5th avenue
|
false |
waypoints[n]
.crossingStreet |
Destintion adress crossing street name, this field must be send if |
string |
|
Roosvelt Road
|
false |
waypoints[n]
.cityBlock |
Destintion adress city block number, this field must be send if |
string |
|
42
|
false |
waypoints[n]
.cityDistrict |
Destintion adress city district name, this field must be send if |
string |
|
Manhattan
|
false |
waypoints[n]
.cityName |
Destintion adress city name, this field must be send if |
string |
|
New York
|
false |
waypoints[n]
.postalCode |
Destintion adress postal code, this field must be send if |
string |
|
10001
|
false |
waypoints[n]
.prefecture |
Destintion adress prefecture name, this field must be send if |
string |
|
Prefecture Name
|
false |
waypoints[n]
.stateCode |
Destintion adress stateCode, this field must be send if |
string |
|
US-NY
|
false |
waypoints[n]
.stateName |
Destintion adress state name, this field must be send if |
string |
|
New York
|
false |
waypoints[n]
.countryCode |
Destintion adress country code, this field must be send if |
string |
|
USA
|
false |
waypoints[n]
.countryName |
Destintion adress country name, this field must be send if |
string |
|
United State of America
|
false |
waypoints[n]
.longitude |
Longitude of the destination address, this field must be send if |
number |
|
8.74301
|
false |
waypoints[n]
.latitude |
Latitude of the destination address, this field must be send if |
number |
|
8.74301
|
false |
Output Data | ||||
---|---|---|---|---|
No outputted data |
This API allows to work with the navigation guidance feature of the infotainment system.
Input Parameter | |||||
---|---|---|---|---|---|
No input params |
Output Data | ||||
---|---|---|---|---|
Data name | Description | Type | Unit/Values | Example |
navRequestId | ID of the request, also in Set. |
int |
|
42
|
status | ID of the request, also in Set. |
Enum of strings |
- success
- failed
- aborted
- invalid_location
- invalid_argument
- valid_location
|
success
|