java.lang.Object
com.smartdevicelink.proxy.RPCStruct
public static final java.lang.String KEY_TIMESTAMP
public static final java.lang.String KEY_ORIGIN
public static final java.lang.String KEY_DESTINATION
public static final java.lang.String KEY_DESTINATION_ETA
public static final java.lang.String KEY_INSTRUCTIONS
public static final java.lang.String KEY_NEXT_INSTRUCTION_ETA
public static final java.lang.String KEY_NEXT_INSTRUCTION_DISTANCE
public static final java.lang.String KEY_NEXT_INSTRUCTION_DISTANCE_SCALE
public static final java.lang.String KEY_PROMPT
From Class | Fields |
---|---|
com.smartdevicelink.proxy.RPCStruct | KEY_BULK_DATA, KEY_PROTECTED, store |
public NavigationServiceData()
public NavigationServiceData(java.util.Hashtable<java.lang.String, java.lang.Object> hash)
public NavigationServiceData(DateTime timeStamp)
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.
public com.smartdevicelink.proxy.rpc.NavigationServiceData setTimeStamp(DateTime timeStamp)
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.
public com.smartdevicelink.proxy.rpc.DateTime getTimeStamp()
public com.smartdevicelink.proxy.rpc.NavigationServiceData setOrigin(LocationDetails origin)
public com.smartdevicelink.proxy.rpc.LocationDetails getOrigin()
public com.smartdevicelink.proxy.rpc.NavigationServiceData setDestination(LocationDetails destination)
public com.smartdevicelink.proxy.rpc.LocationDetails getDestination()
public com.smartdevicelink.proxy.rpc.NavigationServiceData setDestinationETA(DateTime destinationETA)
public com.smartdevicelink.proxy.rpc.DateTime getDestinationETA()
This array should be ordered with all remaining instructions. The start of this array should always contain the next instruction.
public com.smartdevicelink.proxy.rpc.NavigationServiceData setInstructions(java.util.List<com.smartdevicelink.proxy.rpc.NavigationInstruction> instructions)
This array should be ordered with all remaining instructions. The start of this array should always contain the next instruction.
public java.util.List getInstructions()
public com.smartdevicelink.proxy.rpc.NavigationServiceData setNextInstructionETA(DateTime nextInstructionETA)
public com.smartdevicelink.proxy.rpc.DateTime getNextInstructionETA()
The distance to this instruction from current location. This should only be updated every .1 unit of distance. For more accuracy the consumer can use the GPS location of itself and the next instruction.
public com.smartdevicelink.proxy.rpc.NavigationServiceData setNextInstructionDistance(Float nextInstructionDistance)
The distance to this instruction from current location. This should only be updated every .1 unit of distance. For more accuracy the consumer can use the GPS location of itself and the next instruction.
public java.lang.Float getNextInstructionDistance()
Distance till next maneuver (starting from) from previous maneuver.
public com.smartdevicelink.proxy.rpc.NavigationServiceData setNextInstructionDistanceScale(Float nextInstructionDistanceScale)
Distance till next maneuver (starting from) from previous maneuver.
public java.lang.Float getNextInstructionDistanceScale()
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.
public com.smartdevicelink.proxy.rpc.NavigationServiceData setPrompt(String prompt)
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.
public java.lang.String getPrompt()
From Class | Methods |
---|---|
com.smartdevicelink.proxy.RPCStruct | getStoreValue, getStore, deserializeJSON, serializeJSON, serializeJSON, format, getBulkData, setBulkData, setPayloadProtected, isPayloadProtected, getMessageTypeName, hasKey, setValue, getValue, getObject, formatObject, getValueForString, getString, getInteger, getDouble, getFloat, getBoolean, getLong, clone, equals, hashCode |
java.lang.Object | getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize |