public class Instruction
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
combinedMessage
A human-readable message for the maneuver combined with the message from the next instruction.
|
protected java.lang.String |
countryCode
3-character ISO 3166-1 alpha-3 country code.
|
protected java.lang.String |
drivingSide
Indicates left-hand vs.
|
protected java.lang.String |
instructionType
Type of the instruction, e.g., turn or change of road form.
|
protected java.lang.String |
junctionType
Type of the junction at which the maneuver takes place.
|
protected java.lang.String |
maneuver
A code identifying the maneuver (e.g.
|
protected java.lang.String |
message
A human-readable message for the maneuver.
|
protected LatLng |
point
A location of the maneuver defined as a latitude longitude pair.
|
protected boolean |
possibleCombineWithNext
It is possible to optionally combine the instruction with the next one.
|
protected java.lang.String[] |
roadNumbers
An aggregate for roadNumber elements.
|
protected int |
roundaboutExitNumber
Indicates which exit to take at a roundabout.
|
protected int |
routeOffsetInMeters
Distance from the start of the route to the point of the instruction.
|
protected java.lang.String |
signpostText
Text on a signpost which is most relevant to the maneuver, or to the direction that should be followed.
|
protected java.lang.String |
street
Street name of the next significant road segment after the maneuver, or of the street that should be followed.
|
protected int |
travelTimeInSeconds
Estimated travel time up to the point corresponding to routeOffsetInMeters.
|
protected int |
turnAngleInDecimalDegrees
Indicates the direction of an instruction.
|
Constructor and Description |
---|
Instruction() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCombinedMessage()
A human-readable message for the maneuver combined with the message from the next instruction.
|
java.lang.String |
getCountryCode()
3-character ISO 3166-1 alpha-3 country code.
|
java.lang.String |
getDrivingSide()
Indicates left-hand vs.
|
java.lang.String |
getInstructionType()
Type of the instruction, e.g., turn or change of road form.
|
java.lang.String |
getJunctionType()
Type of the junction at which the maneuver takes place.
|
java.lang.String |
getManeuver()
A code identifying the maneuver (e.g.
|
java.lang.String |
getMessage()
A human-readable message for the maneuver.
|
LatLng |
getPoint()
A location of the maneuver defined as a latitude longitude pair.
|
java.lang.String[] |
getRoadNumbers()
An aggregate for roadNumber elements.
|
int |
getRoundaboutExitNumber()
Indicates which exit to take at a roundabout.
|
int |
getRouteOffsetInMeters()
Distance from the start of the route to the point of the instruction.
|
java.lang.String |
getSignpostText()
Text on a signpost which is most relevant to the maneuver, or to the direction that should be followed.
|
java.lang.String |
getStreet()
Street name of the next significant road segment after the maneuver, or of the street that should be followed.
|
int |
getTravelTimeInSeconds()
Estimated travel time up to the point corresponding to routeOffsetInMeters.
|
int |
getTurnAngleInDecimalDegrees()
Indicates the direction of an instruction.
|
boolean |
isPossibleCombineWithNext()
It is possible to optionally combine the instruction with the next one.
|
protected int routeOffsetInMeters
protected int travelTimeInSeconds
protected LatLng point
protected java.lang.String instructionType
protected java.lang.String street
protected java.lang.String[] roadNumbers
protected java.lang.String countryCode
protected java.lang.String signpostText
protected java.lang.String junctionType
protected int turnAngleInDecimalDegrees
protected int roundaboutExitNumber
protected boolean possibleCombineWithNext
protected java.lang.String drivingSide
protected java.lang.String maneuver
protected java.lang.String message
protected java.lang.String combinedMessage
public int getRouteOffsetInMeters()
public int getTravelTimeInSeconds()
public LatLng getPoint()
public java.lang.String getInstructionType()
public java.lang.String getStreet()
public java.lang.String[] getRoadNumbers()
public java.lang.String getCountryCode()
public java.lang.String getSignpostText()
public java.lang.String getJunctionType()
public int getTurnAngleInDecimalDegrees()
public int getRoundaboutExitNumber()
public boolean isPossibleCombineWithNext()
public java.lang.String getDrivingSide()
public java.lang.String getManeuver()
public java.lang.String getMessage()
public java.lang.String getCombinedMessage()