DirectionInformationUsageOption (API Reference)
Enum Class DirectionInformationUsageOption
- All Implemented Interfaces:
Serializable,Comparable<DirectionInformationUsageOption>,Constable
Indicates the option of direction information included in the notification.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNo direction information is included in the notification.Both Road information (either street name or road number based on the maneuver action) and signpost direction are included in the notification, or either one, if available.Road information (either street name or road number based on the maneuver action) is included in the notification, if available. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static DirectionInformationUsageOption[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
No direction information is included in the notification. Example: 'Now turn left to join the highway.'.
-
ROAD_INFORMATION_ONLY
Road information (either street name or road number based on the maneuver action) is included in the notification, if available. Street name is included mainly for non-highway-related maneuver, whilst road number is included in case of highway-related maneuver. Example: 'Now turn left to join the I-83 South.'.
-
ROAD_INFORMATION_AND_SIGNPOST_DIRECTION
Both Road information (either street name or road number based on the maneuver action) and signpost direction are included in the notification, or either one, if available. Street name is included mainly for non-highway-related maneuver, whilst road number is included in case of highway-related maneuver. Example: 'Now turn left to join the I-83 South towards Baltimore.'.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-