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
Sets a custom AdDisplayContainerFactory The Builder sets DefaultAdDisplayContainerFactory by default, with the BaseVideoView as the android.view.
Link copied to clipboard
open fun setAdsRenderingSettings(adsRenderingSettings: AdsRenderingSettings): GoogleIMAComponent.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
Sets debug mode on the GoogleIMAComponent's ImaSdkSettings object.
Link copied to clipboard
open fun setImaSdkSettings(imaSdkSettings: ImaSdkSettings): GoogleIMAComponent.Builder
Sets a custom Google IMA ImaSdkSettings object.
Link copied to clipboard
open fun setLoadVideoTimeout(adLoadTimeoutMillis: Int): GoogleIMAComponent.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
Specifies whether this component will be using Ad Rules or not The Builder sets Ad Rules to false by default