public enum POBNativeEventType extends java.lang.Enum<POBNativeEventType>
| Enum Constant and Description |
|---|
IMPRESSION
Impression
|
OMID |
VIEWABLE_MRC100
100% in view for 1 second (ie GroupM standard)
|
VIEWABLE_MRC50
Visible impression using MRC definition at 50% in view for 1 second
|
VIEWABLE_VIDEO_MRC50
Visible impression for video using MRC definition at 50% in view for 2 seconds
|
| Modifier and Type | Method and Description |
|---|---|
static POBNativeEventType |
getEventType(int eventType)
Method used to get the enum value for the appropriate integer value
|
int |
getEventTypeValue()
Returns the integer representation of event type.
|
static POBNativeEventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static POBNativeEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final POBNativeEventType IMPRESSION
public static final POBNativeEventType VIEWABLE_MRC50
public static final POBNativeEventType VIEWABLE_MRC100
public static final POBNativeEventType VIEWABLE_VIDEO_MRC50
public static final POBNativeEventType OMID
public static POBNativeEventType[] values()
for (POBNativeEventType c : POBNativeEventType.values()) System.out.println(c);
public static POBNativeEventType 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 getEventTypeValue()
@Nullable public static POBNativeEventType getEventType(int eventType)
eventType - Integer - the type of the event passed in the response.POBNativeEventType