AdInfo
class AdInfo(val adId: String, val positionInPod: Int, val podSize: Int, val breakType: AdBreakType, val isSkippable: Boolean, val skipOffsetMs: Long, val durationMs: Long, val clickThroughUrl: String? = null, val providerRendersUi: Boolean = false)
Metadata of a single ad, including its position in the pod.
Constructors
Properties
Link copied to clipboard
Link copied to clipboard
Clickthrough ("learn more") URL, or null when unavailable.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
1-based position of this ad within its pod.
Link copied to clipboard
True when the ads SDK renders its own skip/clickthrough UI (IMA). The SDK ad chrome then suppresses its own skip and learn-more buttons; false means the SDK owns the complete ad UI (FreeWheel).
Link copied to clipboard
When the skip button becomes available, or -1 when not skippable.