Package es.situm.sdk.model.geofencing
Enum EventAction
- java.lang.Object
-
- java.lang.Enum<EventAction>
-
- es.situm.sdk.model.geofencing.EventAction
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<EventAction>
public enum EventAction extends java.lang.Enum<EventAction>
Possible actions for EventOccurrences- See Also:
EventOccurrence
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EVENT_CLICKED
Notifies that the user has clicked a previously seen event.EVENT_CONVERTED
Notifies that a previously seen and clicked event has been converted.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EventAction
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EventAction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EVENT_CLICKED
public static final EventAction EVENT_CLICKED
Notifies that the user has clicked a previously seen event.
-
EVENT_CONVERTED
public static final EventAction EVENT_CONVERTED
Notifies that a previously seen and clicked event has been converted.
-
-
Method Detail
-
values
public static EventAction[] 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 (EventAction c : EventAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EventAction 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
-
-