public class IntersectionLanes extends Object
Constructor and Description |
---|
IntersectionLanes()
Empty constructor
|
IntersectionLanes(boolean valid)
Constructor taking in a boolean true if the lane can validly be used for the user to complete the maneuver.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getIndications()
Array that can be made up of multiple signs such as
left , right , etc. |
boolean |
getValid()
Provides a boolean value you can use to determine if the given lane is valid for the user to complete the maneuver.
|
void |
setIndications(String[] indications)
Sets Array of signs for each turn lane.
|
void |
setValid(boolean valid)
Sets Boolean value for whether this lane can be taken to complete the maneuver.
|
public IntersectionLanes()
public IntersectionLanes(boolean valid)
valid
- boolean true if the lane can validly be used for the user to complete the maneuver.public boolean getValid()
public void setValid(boolean valid)
valid
- boolean true if the user can validly complete the maneuver using this lane, otherwise false.public String[] getIndications()
left
, right
, etc.public void setIndications(String[] indications)
indications
- a String
array made up of one or more signs such as left
, right
, etc.© 2015–2016 Mapbox. All rights reserved.