PlayerViewImaBridgeCreator

fun PlayerViewImaBridgeCreator(    playerPool: PlayerPool<Player>,     mediaSourceFactory: DefaultMediaSourceFactory,     imaAdsLoaderBuilder: ImaAdsLoader.Builder? = null)

Parameters

playerPool

The PlayerPool for Player instances.

mediaSourceFactory

The DefaultMediaSourceFactory that is used to create the MediaSource. If playerPool is an ExoPlayerPool, this value must be the same as ExoPlayerPool.defaultMediaSourceFactory.

imaAdsLoaderBuilder

The ImaAdsLoader.Builder to create the ImaAdsLoader. When null, the library will use a default one. When the library uses a default builder, it also sets a default AdEventListener for debugging purpose. Applications that want to use their own listeners should provide their own Builders.