Package com.navmii.sdk.routenavigation
Enum DirectionType
- java.lang.Object
-
- java.lang.Enum<DirectionType>
-
- com.navmii.sdk.routenavigation.DirectionType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DirectionType>
public enum DirectionType extends java.lang.Enum<DirectionType>
Direction types
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BEAR_LEFT
Bear leftBEAR_RIGHT
Bear rightCONTINUE
Continue driving aheadEXIT_LEFT
Exit leftEXIT_RIGHT
Exit rightFINISH
Finish pointJOIN_LEFT
Join leftJOIN_RIGHT
Join rightKEEP_LEFT
Keep leftKEEP_RIGHT
Keep rightNONE
NonePARK_AND_PROCEED_BY_FOOT
Park and proceed by footROUNDABOUT_ANTICLOCKWISE
Roundabout counterclockwiseROUNDABOUT_CLOCKWISE
Roundabout clockwiseSTART
Start pointSTRAIGHT
Straight onTAKE_FERRY
Take the ferryTURN_LEFT
Turn leftTURN_RIGHT
Turn rightU_TURN_LEFT
U turn leftU_TURN_RIGHT
U turn rightWAYPOINT_REACHED
Waypoint reached
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DirectionType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DirectionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final DirectionType NONE
None
-
START
public static final DirectionType START
Start point
-
FINISH
public static final DirectionType FINISH
Finish point
-
CONTINUE
public static final DirectionType CONTINUE
Continue driving ahead
-
STRAIGHT
public static final DirectionType STRAIGHT
Straight on
-
BEAR_LEFT
public static final DirectionType BEAR_LEFT
Bear left
-
BEAR_RIGHT
public static final DirectionType BEAR_RIGHT
Bear right
-
KEEP_LEFT
public static final DirectionType KEEP_LEFT
Keep left
-
KEEP_RIGHT
public static final DirectionType KEEP_RIGHT
Keep right
-
TURN_LEFT
public static final DirectionType TURN_LEFT
Turn left
-
TURN_RIGHT
public static final DirectionType TURN_RIGHT
Turn right
-
U_TURN_LEFT
public static final DirectionType U_TURN_LEFT
U turn left
-
U_TURN_RIGHT
public static final DirectionType U_TURN_RIGHT
U turn right
-
EXIT_LEFT
public static final DirectionType EXIT_LEFT
Exit left
-
EXIT_RIGHT
public static final DirectionType EXIT_RIGHT
Exit right
-
JOIN_LEFT
public static final DirectionType JOIN_LEFT
Join left
-
JOIN_RIGHT
public static final DirectionType JOIN_RIGHT
Join right
-
ROUNDABOUT_CLOCKWISE
public static final DirectionType ROUNDABOUT_CLOCKWISE
Roundabout clockwise
-
ROUNDABOUT_ANTICLOCKWISE
public static final DirectionType ROUNDABOUT_ANTICLOCKWISE
Roundabout counterclockwise
-
TAKE_FERRY
public static final DirectionType TAKE_FERRY
Take the ferry
-
WAYPOINT_REACHED
public static final DirectionType WAYPOINT_REACHED
Waypoint reached
-
PARK_AND_PROCEED_BY_FOOT
public static final DirectionType PARK_AND_PROCEED_BY_FOOT
Park and proceed by foot
-
-
Method Detail
-
values
public static DirectionType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DirectionType c : DirectionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DirectionType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-