LocationDetails
DateTime
Array.<NavigationInstruction>
Number
Number
DateTime
LocationDetails
String
DateTime
NavigationServiceData
NavigationServiceData
NavigationServiceData
NavigationServiceData
NavigationServiceData
NavigationServiceData
NavigationServiceData
NavigationServiceData
NavigationServiceData
Initializes an instance of NavigationServiceData.
LocationDetails
Get the Destination
Kind: Instance method of NavigationServiceData
Returns: LocationDetails
- the KEY_DESTINATION value
DateTime
Get the DestinationETA
Kind: Instance method of NavigationServiceData
Returns: DateTime
- the KEY_DESTINATION_ETA value
Array.<NavigationInstruction>
Get the Instructions
Kind: Instance method of NavigationServiceData
Returns: Array.<NavigationInstruction>
- the KEY_INSTRUCTIONS value
Number
Get the NextInstructionDistance
Kind: Instance method of NavigationServiceData
Returns: Number
- the KEY_NEXT_INSTRUCTION_DISTANCE value
Number
Get the NextInstructionDistanceScale
Kind: Instance method of NavigationServiceData
Returns: Number
- the KEY_NEXT_INSTRUCTION_DISTANCE_SCALE value
DateTime
Get the NextInstructionETA
Kind: Instance method of NavigationServiceData
Returns: DateTime
- the KEY_NEXT_INSTRUCTION_ETA value
LocationDetails
Get the Origin
Kind: Instance method of NavigationServiceData
Returns: LocationDetails
- the KEY_ORIGIN value
String
Get the Prompt
Kind: Instance method of NavigationServiceData
Returns: String
- the KEY_PROMPT value
DateTime
Get the TimeStamp
Kind: Instance method of NavigationServiceData
Returns: DateTime
- the KEY_TIME_STAMP value
NavigationServiceData
Set the Destination
Kind: Instance method of NavigationServiceData
Returns: NavigationServiceData
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
destination | LocationDetails |
The desired Destination. |
NavigationServiceData
Set the DestinationETA
Kind: Instance method of NavigationServiceData
Returns: NavigationServiceData
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
eta | DateTime |
The desired DestinationETA. |
NavigationServiceData
Set the Instructions
Kind: Instance method of NavigationServiceData
Returns: NavigationServiceData
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
instructions | Array.<NavigationInstruction> |
This array should be ordered with all remaining instructions. The start of this array should always contain the next instruction. - The desired Instructions. |
NavigationServiceData
Set the NextInstructionDistance
Kind: Instance method of NavigationServiceData
Returns: NavigationServiceData
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
distance | Number |
The distance to this instruction from current location. This should only be updated ever .1 unit of distance. For more accuracy the consumer can use the GPS location of itself and the next instruction. - The desired NextInstructionDistance. |
NavigationServiceData
Set the NextInstructionDistanceScale
Kind: Instance method of NavigationServiceData
Returns: NavigationServiceData
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
scale | Number |
Distance till next maneuver (starting from) from previous maneuver. - The desired NextInstructionDistanceScale. |
NavigationServiceData
Set the NextInstructionETA
Kind: Instance method of NavigationServiceData
Returns: NavigationServiceData
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
eta | DateTime |
The desired NextInstructionETA. |
NavigationServiceData
Set the Origin
Kind: Instance method of NavigationServiceData
Returns: NavigationServiceData
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
origin | LocationDetails |
The desired Origin. |
NavigationServiceData
Set the Prompt
Kind: Instance method of NavigationServiceData
Returns: NavigationServiceData
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
prompt | String |
This is a prompt message that should be conveyed to the user through either display or voice (TTS). This param will change often as it should represent the following: approaching instruction, post instruction, alerts that affect the current navigation session, etc. - The desired Prompt. {'string_min_length': 1} |
NavigationServiceData
Set the TimeStamp
Kind: Instance method of NavigationServiceData
Returns: NavigationServiceData
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
stamp | DateTime |
This is the timestamp of when the data was generated. This is to ensure any time or distance given in the data can accurately be adjusted if necessary. - The desired TimeStamp. |