public class POBNativeAdResponseEventTracker
extends java.lang.Object
implements com.pubmatic.sdk.common.viewability.POBVerificationScriptResource
| Constructor and Description |
|---|
POBNativeAdResponseEventTracker(java.lang.String url,
com.pubmatic.sdk.openwrap.core.nativead.POBNativeEventType type,
com.pubmatic.sdk.openwrap.core.nativead.POBNativeEventTrackingMethod trackingMethod)
Returns the instance of the class which stores the event trackers received in the response
|
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
getExt()
Returns the extension for event tracker
|
java.util.List<java.lang.String> |
getJavaScriptResource() |
com.pubmatic.sdk.openwrap.core.nativead.POBNativeEventTrackingMethod |
getTrackingMethod()
Returns the tracking method used for capturing the method (refer
POBNativeEventTrackingMethod) |
com.pubmatic.sdk.openwrap.core.nativead.POBNativeEventType |
getType()
Returns the type of the event occurred (refer
POBNativeEventType) |
java.lang.String |
getUrl()
Returns the url of the js or the image to be fired for that particular event.
|
java.lang.String |
getVendorKey() |
java.lang.String |
getVerificationParameter() |
void |
setExt(org.json.JSONObject ext)
Sets the custom data for event tracker in extension
|
java.lang.String |
toString()
Converts the object to a readable string
|
public POBNativeAdResponseEventTracker(@NonNull
java.lang.String url,
@NonNull
com.pubmatic.sdk.openwrap.core.nativead.POBNativeEventType type,
@NonNull
com.pubmatic.sdk.openwrap.core.nativead.POBNativeEventTrackingMethod trackingMethod)
url - String (required)type - POBNativeEventType (required)trackingMethod - POBNativeEventTrackingMethod (required)@NonNull public java.lang.String getUrl()
@NonNull public com.pubmatic.sdk.openwrap.core.nativead.POBNativeEventType getType()
POBNativeEventType)POBNativeEventType@NonNull public com.pubmatic.sdk.openwrap.core.nativead.POBNativeEventTrackingMethod getTrackingMethod()
POBNativeEventTrackingMethod)POBNativeEventTrackingMethod@Nullable public org.json.JSONObject getExt()
public void setExt(@Nullable
org.json.JSONObject ext)
ext - instance of JSONObject@NonNull public java.lang.String toString()
toString in class java.lang.Object@Nullable public java.lang.String getVerificationParameter()
getVerificationParameter in interface com.pubmatic.sdk.common.viewability.POBVerificationScriptResource@Nullable public java.util.List<java.lang.String> getJavaScriptResource()
getJavaScriptResource in interface com.pubmatic.sdk.common.viewability.POBVerificationScriptResource@Nullable public java.lang.String getVendorKey()
getVendorKey in interface com.pubmatic.sdk.common.viewability.POBVerificationScriptResource