Package com.azure.maps.route.models
Class DrivingSide
java.lang.Object
com.azure.core.util.ExpandableStringEnum<DrivingSide>
com.azure.maps.route.models.DrivingSide
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Indicates left-hand vs. right-hand side driving at the point of the maneuver.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DrivingSideLeft side.static final DrivingSideRight side. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DrivingSidefromString(String name) Creates or finds a DrivingSide from its string representation.static Collection<DrivingSide> values()Gets known DrivingSide values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
LEFT
Left side. -
RIGHT
Right side.
-
-
Constructor Details
-
DrivingSide
Deprecated.Use thefromString(String)factory method.Creates a new instance of DrivingSide value.
-
-
Method Details
-
fromString
Creates or finds a DrivingSide from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding DrivingSide.
-
values
Gets known DrivingSide values.- Returns:
- known DrivingSide values.
-
fromString(String)factory method.