Enum Class Event.Type

java.lang.Object
java.lang.Enum<Event.Type>
com.mparticle.sdk.model.eventprocessing.Event.Type
All Implemented Interfaces:
Serializable, Comparable<Event.Type>, Constable
Enclosing class:
Event

public static enum Event.Type extends Enum<Event.Type>
Event types.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    When 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 Type
    Method
    Description
     
    static Event.Type
    Returns the enum constant of this class with the specified name.
    static Event.Type[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • SESSION_START

      public static final Event.Type SESSION_START
      This represents when a *user session* starts and the app has come into the foreground.
    • SESSION_END

      public static final Event.Type 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

      public static final Event.Type 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

      public static final Event.Type SCREEN_VIEW
      This represents when a user views a particular screen or page of an application.
    • ERROR

      public static final Event.Type 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

      public static final Event.Type PRIVACY_SETTING_CHANGE
      This represents when a user has chosen to opt-out or opt-in to a service.
    • USER_ATTRIBUTE_CHANGE

      public static final Event.Type 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

      public static final Event.Type 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

      public static final Event.Type 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

      public static final Event.Type 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

      public static final Event.Type 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. See EventProcessingRegistration.setPushMessagingProviderId(String)
    • PRODUCT_ACTION

      public static final Event.Type 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

      public static final Event.Type PROMOTION_ACTION
      This is the event used for eCommerce Promotion events. There are two types of promotion events, view and click.
    • IMPRESSION

      public static final Event.Type IMPRESSION
      This is the event used for eCommerce Impression events.
    • ATTRIBUTION

      public static final Event.Type ATTRIBUTION
    • PUSH_MESSAGE_OPEN

      public static final Event.Type PUSH_MESSAGE_OPEN
      This event represents when the users opens a push notification.
  • Method Details

    • values

      public static Event.Type[] 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

      public static Event.Type valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Event.Type>