Package es.situm.sdk.navigation
Enum ExternalNavigation.MessageType
- java.lang.Object
-
- java.lang.Enum<ExternalNavigation.MessageType>
-
- es.situm.sdk.navigation.ExternalNavigation.MessageType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ExternalNavigation.MessageType>
- Enclosing class:
- ExternalNavigation
public static enum ExternalNavigation.MessageType extends java.lang.Enum<ExternalNavigation.MessageType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DESTINATION_REACHED
NAVIGATION_CANCELLED
NAVIGATION_STARTED
NAVIGATION_UPDATED
OUTSIDE_ROUTE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExternalNavigation.MessageType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ExternalNavigation.MessageType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NAVIGATION_STARTED
public static final ExternalNavigation.MessageType NAVIGATION_STARTED
-
NAVIGATION_UPDATED
public static final ExternalNavigation.MessageType NAVIGATION_UPDATED
-
NAVIGATION_CANCELLED
public static final ExternalNavigation.MessageType NAVIGATION_CANCELLED
-
OUTSIDE_ROUTE
public static final ExternalNavigation.MessageType OUTSIDE_ROUTE
-
DESTINATION_REACHED
public static final ExternalNavigation.MessageType DESTINATION_REACHED
-
-
Method Detail
-
values
public static ExternalNavigation.MessageType[] 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 (ExternalNavigation.MessageType c : ExternalNavigation.MessageType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExternalNavigation.MessageType 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
-
-