Enum POBNativeEventTrackingMethod
-
- All Implemented Interfaces:
public enum POBNativeEventTrackingMethodMethod used for tracking.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IMAGEImage-pixel tracking - URL provided will be inserted as a 1x1 pixel at the time of the event.
JAVASCRIPTJavascript-based tracking - URL provided will be inserted as a js tag at the time of the event.
-
Method Summary
Modifier and Type Method Description intgetNativeEventTrackingMethodValue()Returns the integer representation of event tracking method. static Array<POBNativeEventTrackingMethod>values()Returns an array containing the constants of this enum type, in the order they're declared. static POBNativeEventTrackingMethodvalueOf(String name)Returns the enum constant of this type with the specified name. static POBNativeEventTrackingMethodgetEventTrackingMethod(int eventTrackingMethod)Method used to get the enum value for the appropriate integer value -
-
Method Detail
-
getNativeEventTrackingMethodValue
int getNativeEventTrackingMethodValue()
Returns the integer representation of event tracking method. Possible values are: 1 - IMAGE 2 - JAVASCRIPT
- Returns:
Integer representation of event tracking method.
-
values
static Array<POBNativeEventTrackingMethod> values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
- Returns:
an array containing the constants of this enum type, in the order they're declared
-
valueOf
static POBNativeEventTrackingMethod valueOf(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.)
- Returns:
the enum constant with the specified name
-
getEventTrackingMethod
@Nullable() static POBNativeEventTrackingMethod getEventTrackingMethod(int eventTrackingMethod)
Method used to get the enum value for the appropriate integer value
- Parameters:
eventTrackingMethod- Integer - the type of the event tracking method passed in the response.- Returns:
-
-
-
-