Builder

open class Builder

Constructors

Link copied to clipboard
constructor(baseVideoView: BaseVideoView, eventEmitter: EventEmitter)
The Builder constructor

Functions

Link copied to clipboard
Builds the GoogleIMAComponent instance
Link copied to clipboard
open fun setAdsRenderingSettings(adsRenderingSettings: AdsRenderingSettings): GoogleDAIComponent.Builder
Sets a custom Google IMA AdsRenderingSettings and validates a List of mime types (if provided by the user) The builder sets createAdsRenderingSettings by default, without extra configurations.
Link copied to clipboard
Set the tag parameters to be passed to the Stream Request
Link copied to clipboard
Sets debug mode on the GoogleIMAComponent's ImaSdkSettings object.
Link copied to clipboard
open fun setImaSdkSettings(imaSdkSettings: ImaSdkSettings): GoogleDAIComponent.Builder
Sets a custom Google IMA ImaSdkSettings object.
Link copied to clipboard
open fun setLoadVideoTimeout(adLoadTimeoutMillis: Int): GoogleDAIComponent.Builder
Sets the ad video load timeout, in milliseconds.
Link copied to clipboard
Sets and validates a List of mime types provided by the user.
Link copied to clipboard
open fun setStreamDisplayContainerFactory(adDisplayContainerFactory: AdDisplayContainerFactory): GoogleDAIComponent.Builder
Sets a custom AdDisplayContainerFactory The Builder sets DefaultAdDisplayContainerFactory by default, with the BaseVideoView as the android.view.