DefaultAdDisplayContainerFactory

Constructors

Link copied to clipboard
constructor(viewGroup: ViewGroup)
Creates an instance of AdDisplayContainerFactory, where the ViewGroup provided as the constructor parameter will be used for the AdDisplayContainercreation.

Functions

Link copied to clipboard
open fun createAdDisplayContainer(imaVideoPlayer: BaseAdVideoPlayer): AdDisplayContainer
Creates the AdDisplayContainer with the provided BaseAdVideoPlayer and the ViewGroup retrieved with getViewContainer
open fun createAdDisplayContainer(googleIMAVideoAdPlayer: GoogleIMAVideoAdPlayer): AdDisplayContainer
Link copied to clipboard
open fun createStreamDisplayContainer(daiVideoPlayer: BaseAdVideoPlayer): StreamDisplayContainer
Creates the StreamDisplayContainer with the provided BaseAdVideoPlayer and the ViewGroup retrieved with getViewContainer
Link copied to clipboard
open fun getViewContainer(): ViewGroup
Returns the ViewGroup container used for both, the creation of the GoogleIMAVideoAdPlayer and the AdDisplayContainer