Class VideoExperienceLoader
-
- All Implemented Interfaces:
public final class VideoExperienceLoader extends ExperienceLoader
Experience loader for handling video content in native ads. This loader processes VAST tags, validates video requirements, sets up video tracking, and inflates the media view for displaying video content.
-
-
Constructor Summary
Constructors Constructor Description VideoExperienceLoader(NativeAdUnitComponent nativeAdUnitComponent, AdSessionManager adSessionManager)
-
Method Summary
Modifier and Type Method Description ExperienceResultload()Loads the video experience and returns the result. -
-
Constructor Detail
-
VideoExperienceLoader
VideoExperienceLoader(NativeAdUnitComponent nativeAdUnitComponent, AdSessionManager adSessionManager)
- Parameters:
nativeAdUnitComponent- The dependency injection component providing core dependencies.adSessionManager- The OM-SDK ad session manager for viewability tracking.
-
-
Method Detail
-
load
ExperienceResult load()
Loads the video experience and returns the result. Validates the media type and video configuration, parses VAST tag, and inflates the media view for video playback.
- Returns:
ExperienceResult indicating success with media view and beacon data or failure with error code.
-
-
-
-