public enum POBNativeEventTrackingMethod extends java.lang.Enum<POBNativeEventTrackingMethod>
| Enum Constant and Description |
|---|
IMAGE
Image-pixel tracking - URL provided will be
inserted as a 1x1 pixel at the time of the event.
|
JAVASCRIPT
Javascript-based tracking - URL provided will be
inserted as a js tag at the time of the event.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getEventEventTrackingMethodValue()
Returns the integer representation of event tracking method.
|
static POBNativeEventTrackingMethod |
getEventTrackingMethod(int eventTrackingMethod)
Method used to get the enum value for the appropriate integer value
|
static POBNativeEventTrackingMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static POBNativeEventTrackingMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final POBNativeEventTrackingMethod IMAGE
public static final POBNativeEventTrackingMethod JAVASCRIPT
public static POBNativeEventTrackingMethod[] values()
for (POBNativeEventTrackingMethod c : POBNativeEventTrackingMethod.values()) System.out.println(c);
public static POBNativeEventTrackingMethod 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 getEventEventTrackingMethodValue()
@Nullable public static POBNativeEventTrackingMethod getEventTrackingMethod(int eventTrackingMethod)
eventTrackingMethod - Integer - the type of the event tracking method passed in the response.POBNativeEventTrackingMethod