Package com.pubmatic.sdk.nativead
Class POBNativeTrackerHandler
-
- All Implemented Interfaces:
public class POBNativeTrackerHandlerClass used to execute the click and impression trackers for the native ad
-
-
Constructor Summary
Constructors Constructor Description POBNativeTrackerHandler(POBTrackerHandler trackerHandler)
-
Method Summary
Modifier and Type Method Description voidexecuteClickTrackers(@Nullable() List<String> clickTrackers)Function executes the click trackers for the native ad voidexecuteImpressionTracker(@NonNull() Context context, @Nullable() List<POBNativeAdResponseEventTracker> jsEventTrackers, @Nullable() List<POBNativeAdResponseEventTracker> imageEventTracker, @Nullable() List<String> impressionTrackers, @Nullable() String jsTracker)Function is used to fire the impression trackers. -
-
Method Detail
-
executeClickTrackers
void executeClickTrackers(@Nullable() List<String> clickTrackers)
Function executes the click trackers for the native ad
-
executeImpressionTracker
@MainThread() void executeImpressionTracker(@NonNull() Context context, @Nullable() List<POBNativeAdResponseEventTracker> jsEventTrackers, @Nullable() List<POBNativeAdResponseEventTracker> imageEventTracker, @Nullable() List<String> impressionTrackers, @Nullable() String jsTracker)
Function is used to fire the impression trackers. It combines both image and js based impression tracker from impTrackers and eventTrackers and executes it using the POBTrackerHandler
-
-
-
-