Class VideoBeaconProcessor
-
- All Implemented Interfaces:
public final class VideoBeaconProcessorA class responsible for processing and firing beacons for video ads.
This class manages the lifecycle of video ad beacons, including video playback events, companion ad events, and error handling. It utilizes NativeBeaconMacroData, NativeBeaconTrackerData, and VideoBeaconHolder to handle the beacon firing logic.
-
-
Constructor Summary
Constructors Constructor Description VideoBeaconProcessor(VastBeaconData vastBeaconData, AdLifecycleData adLifecycleData, VideoResponseBeaconData responseBeaconData)
-
Method Summary
Modifier and Type Method Description final UnitonMediaEvent(MediaEvent mediaEvent)Handles media events and fires the corresponding beacons. -
-
Constructor Detail
-
VideoBeaconProcessor
VideoBeaconProcessor(VastBeaconData vastBeaconData, AdLifecycleData adLifecycleData, VideoResponseBeaconData responseBeaconData)
-
-
Method Detail
-
onMediaEvent
final Unit onMediaEvent(MediaEvent mediaEvent)
Handles media events and fires the corresponding beacons.
This method acts as an entry point for handling various media events, such as video playback events and companion ad events.
- Parameters:
mediaEvent- The MediaEvent that occurred.
-
-
-
-