Class VideoTelemetryHelper
-
- All Implemented Interfaces:
public final class VideoTelemetryHelperA helper class for submitting telemetry events related to video ads.
This class provides methods for submitting telemetry events for various video playback milestones, such as load start, load success, load failure, start, quartiles, and completion. It uses a MediaEvent to determine which event to submit and prevents duplicate submissions for certain events.
-
-
Constructor Summary
Constructors Constructor Description VideoTelemetryHelper(AdContext adContext)
-
Method Summary
Modifier and Type Method Description final UnitfireTelemetryOnMediaEvent(MediaEvent mediaEvent)Fires the appropriate telemetry event based on the received MediaEvent. -
-
Constructor Detail
-
VideoTelemetryHelper
VideoTelemetryHelper(AdContext adContext)
-
-
Method Detail
-
fireTelemetryOnMediaEvent
final Unit fireTelemetryOnMediaEvent(MediaEvent mediaEvent)
Fires the appropriate telemetry event based on the received MediaEvent.
This method acts as an entry point for handling various media events and submitting the corresponding telemetry events.
- Parameters:
mediaEvent- The MediaEvent that occurred.
-
-
-
-