Package com.navmii.sdk.routenavigation
Enum GuidanceOutput
- java.lang.Object
-
- java.lang.Enum<GuidanceOutput>
-
- com.navmii.sdk.routenavigation.GuidanceOutput
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GuidanceOutput>
public enum GuidanceOutput extends java.lang.Enum<GuidanceOutput>
Represents the way the navigation guidance will be passed from the SDK.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GuidanceOutput
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GuidanceOutput[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final GuidanceOutput NONE
A value representing that no guidance is generated.
-
TEXT
public static final GuidanceOutput TEXT
A value representing that the listeners are passed a String with a guidance text via GuidanceListener interface.
-
-
Method Detail
-
values
public static GuidanceOutput[] 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 (GuidanceOutput c : GuidanceOutput.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GuidanceOutput 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
-
-