Advertising Config
data class AdvertisingConfig(schedule: List<AdItem>, companionAdContainers: List<CompanionAdContainer>?, adsManagerAvailableCallback: AdsManagerAvailableCallback?, beforeInitialization: BeforeInitializationCallback?) : Parcelable
Content copied to clipboard
Contains configuration values regarding the ads which should be played back by the player.
Constructors
AdvertisingConfig
Link copied to clipboard
fun AdvertisingConfig(companionAdContainers: List<CompanionAdContainer>? = null, vararg adItems: AdItem)
Content copied to clipboard
AdvertisingConfig
Link copied to clipboard
AdvertisingConfig
Link copied to clipboard
fun AdvertisingConfig(schedule: List<AdItem> = emptyList(), companionAdContainers: List<CompanionAdContainer>? = null, adsManagerAvailableCallback: AdsManagerAvailableCallback? = null, beforeInitialization: BeforeInitializationCallback? = null)
Content copied to clipboard
Properties
adsManagerAvailableCallback
Link copied to clipboard
The AdsManagerAvailableCallback currently in use.
beforeInitialization
Link copied to clipboard
companionAdContainers
Link copied to clipboard
@Transient()
Content copied to clipboard
schedule
Link copied to clipboard
The ad items that are scheduled when a new playback session is started via Player.load.