Package com.mparticle
Enum MParticle.EventType
- java.lang.Object
-
- java.lang.Enum<MParticle.EventType>
-
- com.mparticle.MParticle.EventType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MParticle.EventType>
- Enclosing class:
- MParticle
public static enum MParticle.EventType extends java.lang.Enum<MParticle.EventType>
Event type to use when loggingMPEvent
s.- See Also:
MParticle.logEvent(BaseEvent)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Location
Media
Navigation
Other
Search
Social
Transaction
Unknown
UserContent
UserPreference
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
static MParticle.EventType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MParticle.EventType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Unknown
public static final MParticle.EventType Unknown
-
Navigation
public static final MParticle.EventType Navigation
-
Location
public static final MParticle.EventType Location
-
Search
public static final MParticle.EventType Search
-
Transaction
public static final MParticle.EventType Transaction
-
UserContent
public static final MParticle.EventType UserContent
-
UserPreference
public static final MParticle.EventType UserPreference
-
Social
public static final MParticle.EventType Social
-
Other
public static final MParticle.EventType Other
-
Media
public static final MParticle.EventType Media
-
-
Method Detail
-
values
public static MParticle.EventType[] 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 (MParticle.EventType c : MParticle.EventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MParticle.EventType 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
-
toString
@NonNull public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<MParticle.EventType>
-
-