Class NativeTracker
-
- All Implemented Interfaces:
public class NativeTrackerBase class for VAST tracking URLs used to report ad events.
This class represents a tracking URL that should be fired when specific events occur during video ad playback or user interactions. It encapsulates the tracking URL and the event type that triggers the tracking call, enabling proper event reporting throughout the ad lifecycle.
Tracking is essential for ad measurement, billing, and analytics in video advertising systems, providing visibility into ad performance and user engagement.
-
-
Constructor Summary
Constructors Constructor Description NativeTracker(String url, String eventType)
-
Method Summary
Modifier and Type Method Description final StringgetUrl()final StringgetEventType()-
-
Constructor Detail
-
NativeTracker
NativeTracker(String url, String eventType)
- Parameters:
url- The tracking URL to fire when the event occurseventType- The VastTrackerType indicating when this tracker should be fired
-
-
Method Detail
-
getEventType
final String getEventType()
-
-
-
-