LocationDetailsDateTimeArray.<NavigationInstruction>NumberNumberDateTimeLocationDetailsStringDateTimeNavigationServiceDataNavigationServiceDataNavigationServiceDataNavigationServiceDataNavigationServiceDataNavigationServiceDataNavigationServiceDataNavigationServiceDataNavigationServiceDataInitializes an instance of NavigationServiceData.
LocationDetailsGet the Destination
Kind: Instance method of NavigationServiceData
Returns: LocationDetails - the KEY_DESTINATION value
DateTimeGet 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
NumberGet the NextInstructionDistance
Kind: Instance method of NavigationServiceData
Returns: Number - the KEY_NEXT_INSTRUCTION_DISTANCE value
NumberGet the NextInstructionDistanceScale
Kind: Instance method of NavigationServiceData
Returns: Number - the KEY_NEXT_INSTRUCTION_DISTANCE_SCALE value
DateTimeGet the NextInstructionETA
Kind: Instance method of NavigationServiceData
Returns: DateTime - the KEY_NEXT_INSTRUCTION_ETA value
LocationDetailsGet the Origin
Kind: Instance method of NavigationServiceData
Returns: LocationDetails - the KEY_ORIGIN value
StringGet the Prompt
Kind: Instance method of NavigationServiceData
Returns: String - the KEY_PROMPT value
DateTimeGet the TimeStamp
Kind: Instance method of NavigationServiceData
Returns: DateTime - the KEY_TIME_STAMP value
NavigationServiceDataSet the Destination
Kind: Instance method of NavigationServiceData
Returns: NavigationServiceData - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| destination | LocationDetails |
The desired Destination. |
NavigationServiceDataSet the DestinationETA
Kind: Instance method of NavigationServiceData
Returns: NavigationServiceData - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| eta | DateTime |
The desired DestinationETA. |
NavigationServiceDataSet 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. |
NavigationServiceDataSet 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. |
NavigationServiceDataSet 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. |
NavigationServiceDataSet the NextInstructionETA
Kind: Instance method of NavigationServiceData
Returns: NavigationServiceData - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| eta | DateTime |
The desired NextInstructionETA. |
NavigationServiceDataSet the Origin
Kind: Instance method of NavigationServiceData
Returns: NavigationServiceData - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| origin | LocationDetails |
The desired Origin. |
NavigationServiceDataSet 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} |
NavigationServiceDataSet 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. |