NonLinearAd

interface NonLinearAd : Ad

Defines a non-linear ad which does not require the playback of the main content to stop.

Non-linear ads are presented alongside the main content without interrupting its playback, so they are not part of an AdBreak. Their lifecycle is signaled via PlayerEvent.NonLinearAdStarted, PlayerEvent.NonLinearAdSkipped and PlayerEvent.NonLinearAdFinished.

Inheritors

Properties

Link copied to clipboard
open override val isLinear: Boolean

Determines whether an ad is linear, i.e. playback of main content needs to be paused for the ad.