public enum EventType extends java.lang.Enum<EventType> implements SerializableBeaconValue
| Enum Constant and Description |
|---|
ACTION
Action event
|
CRASH
Report crash event
|
ERROR
Report error code event
|
IDENTIFY_USER
Identify user event
|
NAMED_EVENT
Named event
|
SESSION_END
Session end event
|
SESSION_START
Session start event
|
VALUE_DOUBLE
Report double value event
|
VALUE_INT
Report integer value event
|
VALUE_STRING
Report string value event
|
WEB_REQUEST
Tagged web request event
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
asBeaconValue()
Returns the value of this instance in the form how it will be written to the beacon
|
int |
protocolValue() |
static EventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventType ACTION
public static final EventType VALUE_STRING
public static final EventType VALUE_INT
public static final EventType VALUE_DOUBLE
public static final EventType NAMED_EVENT
public static final EventType SESSION_START
public static final EventType SESSION_END
public static final EventType WEB_REQUEST
public static final EventType ERROR
public static final EventType CRASH
public static final EventType IDENTIFY_USER
public static EventType[] values()
for (EventType c : EventType.values()) System.out.println(c);
public static EventType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int protocolValue()
public java.lang.String asBeaconValue()
SerializableBeaconValueasBeaconValue in interface SerializableBeaconValue