Class ExperienceResult.Success
-
- All Implemented Interfaces:
public final class ExperienceResult.Success extends ExperienceResult
Represents a successful experience loading result.
This result indicates that the native ad experience was successfully loaded and is ready for display. It contains the media view that can be rendered and optional VAST beacon data for video tracking.
-
-
Field Summary
Fields Modifier and Type Field Description private final MediaViewmediaViewprivate final VastBeaconDatavastBeaconData
-
Constructor Summary
Constructors Constructor Description ExperienceResult.Success(MediaView mediaView, VastBeaconData vastBeaconData)
-
Method Summary
Modifier and Type Method Description final MediaViewgetMediaView()final VastBeaconDatagetVastBeaconData()-
-
Constructor Detail
-
ExperienceResult.Success
ExperienceResult.Success(MediaView mediaView, VastBeaconData vastBeaconData)
- Parameters:
mediaView- The MediaView containing the loaded and prepared ad experience.vastBeaconData- Optional VastBeaconData for video tracking, present when the ad contains video content.
-
-
Method Detail
-
getMediaView
final MediaView getMediaView()
-
getVastBeaconData
final VastBeaconData getVastBeaconData()
-
-
-
-