Package com.mparticle
Enum BaseEvent.Type
- java.lang.Object
-
- java.lang.Enum<BaseEvent.Type>
-
- com.mparticle.BaseEvent.Type
-
- All Implemented Interfaces:
BaseEvent.MessageType
,java.io.Serializable
,java.lang.Comparable<BaseEvent.Type>
- Enclosing class:
- BaseEvent
public static enum BaseEvent.Type extends java.lang.Enum<BaseEvent.Type> implements BaseEvent.MessageType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APP_STATE_TRANSITION
BREADCRUMB
COMMERCE_EVENT
ERROR
EVENT
FIRST_RUN
MEDIA
NETWORK_PERFORMNACE
OPT_OUT
PROFILE
PUSH_RECEIVED
PUSH_REGISTRATION
REQUEST_HEADER
SCREEN_VIEW
SESSION_END
SESSION_START
USER_ATTRIBUTE_CHANGE
USER_IDENTITY_CHANGE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessageType()
static BaseEvent.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BaseEvent.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SESSION_START
public static final BaseEvent.Type SESSION_START
-
SESSION_END
public static final BaseEvent.Type SESSION_END
-
EVENT
public static final BaseEvent.Type EVENT
-
SCREEN_VIEW
public static final BaseEvent.Type SCREEN_VIEW
-
COMMERCE_EVENT
public static final BaseEvent.Type COMMERCE_EVENT
-
OPT_OUT
public static final BaseEvent.Type OPT_OUT
-
ERROR
public static final BaseEvent.Type ERROR
-
PUSH_REGISTRATION
public static final BaseEvent.Type PUSH_REGISTRATION
-
REQUEST_HEADER
public static final BaseEvent.Type REQUEST_HEADER
-
FIRST_RUN
public static final BaseEvent.Type FIRST_RUN
-
APP_STATE_TRANSITION
public static final BaseEvent.Type APP_STATE_TRANSITION
-
PUSH_RECEIVED
public static final BaseEvent.Type PUSH_RECEIVED
-
BREADCRUMB
public static final BaseEvent.Type BREADCRUMB
-
NETWORK_PERFORMNACE
public static final BaseEvent.Type NETWORK_PERFORMNACE
-
PROFILE
public static final BaseEvent.Type PROFILE
-
USER_ATTRIBUTE_CHANGE
public static final BaseEvent.Type USER_ATTRIBUTE_CHANGE
-
USER_IDENTITY_CHANGE
public static final BaseEvent.Type USER_IDENTITY_CHANGE
-
MEDIA
public static final BaseEvent.Type MEDIA
-
-
Method Detail
-
values
public static BaseEvent.Type[] 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 (BaseEvent.Type c : BaseEvent.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BaseEvent.Type 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
-
getMessageType
public java.lang.String getMessageType()
- Specified by:
getMessageType
in interfaceBaseEvent.MessageType
-
-