Enum Class Event.Type
- All Implemented Interfaces:
Serializable
,Comparable<Event.Type>
,Constable
- Enclosing class:
- Event
Event types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionWhen a user cold-starts, resumes, leaves, or force-closes an app, an AST event will be generated.This is the generic event object used throughout all of mParticle's SDKs, used to log discrete events, associate with a name, an event type, and a map of keys and values.This type of data represents an error that has occurred in an application, such as an exception, regardless of if it led to an app crash (unhandled) or not (handled).This is the event used for eCommerce Impression events.This represents when a user has chosen to opt-out or opt-in to a service.This is the event used for all Product-related eCommerce events.This is the event used for eCommerce Promotion events.This event represents when the users opens a push notification.This event represents when the device receives a push notification.This event represents when a user subscribes to push notifications with Apple's push notification service, or Google's Cloud Messaging service, and will typically contain the associated push token or ID.This represents when a user views a particular screen or page of an application.This represents when a *user session* ends.This represents when a *user session* starts and the app has come into the foreground.The mParticle mobile and Javascript SDKs provide APIs to associate user attributes with the current user.Similar to user attributes, users can have 1 or more associated IDs, such as email. -
Method Summary
Modifier and TypeMethodDescriptiontoString()
static Event.Type
Returns the enum constant of this class with the specified name.static Event.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SESSION_START
This represents when a *user session* starts and the app has come into the foreground. -
SESSION_END
This represents when a *user session* ends. This will occur once the user has left the app, and the app is in the background for an amount of time. Once the session times-out, the session end event will be fired. -
CUSTOM_EVENT
This is the generic event object used throughout all of mParticle's SDKs, used to log discrete events, associate with a name, an event type, and a map of keys and values. -
SCREEN_VIEW
This represents when a user views a particular screen or page of an application. -
ERROR
This type of data represents an error that has occurred in an application, such as an exception, regardless of if it led to an app crash (unhandled) or not (handled). -
PRIVACY_SETTING_CHANGE
This represents when a user has chosen to opt-out or opt-in to a service. -
USER_ATTRIBUTE_CHANGE
The mParticle mobile and Javascript SDKs provide APIs to associate user attributes with the current user. This event represents when a user changes, either by adding, removing, or updated an attribute associated with profile. -
USER_IDENTITY_CHANGE
Similar to user attributes, users can have 1 or more associated IDs, such as email. This event will fire when a user adds, removed, or updates an identity. -
PUSH_SUBSCRIPTION
This event represents when a user subscribes to push notifications with Apple's push notification service, or Google's Cloud Messaging service, and will typically contain the associated push token or ID. -
APPLICATION_STATE_TRANSITION
When a user cold-starts, resumes, leaves, or force-closes an app, an AST event will be generated. Note that a user may leave and return to an app several times during a single session. -
PUSH_MESSAGE_RECEIPT
This event represents when the device receives a push notification. NOTE: Integrations registering for PUSH_MESSAGE_RECEIPT must also set a push provider ID within the EventProcessingRegistration. SeeEventProcessingRegistration.setPushMessagingProviderId(String)
-
PRODUCT_ACTION
This is the event used for all Product-related eCommerce events. There are several types of product actions, such as purchase and refund. -
PROMOTION_ACTION
This is the event used for eCommerce Promotion events. There are two types of promotion events, view and click. -
IMPRESSION
This is the event used for eCommerce Impression events. -
ATTRIBUTION
-
PUSH_MESSAGE_OPEN
This event represents when the users opens a push notification.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<Event.Type>
-