Package kohii.v1.ads.exoplayer

Types

Link copied to clipboard
class ImaBridgeConfig(val adsLoader: ImaAdsLoader)

Configurations for a PlayerViewImaBridge.

Link copied to clipboard
class PlayerViewImaBridge(    context: Context,     media: AdMedia,     playerPool: PlayerPool<Player>,     imaBridgeConfig: ImaBridgeConfig,     mediaSourceFactory: DefaultMediaSourceFactory) : PlayerViewBridge, AdViewProvider, DefaultMediaSourceFactory.AdsLoaderProvider

A PlayerViewBridge that supports ad media using ImaAdsLoader.

Link copied to clipboard
class PlayerViewImaBridgeCreator(    playerPool: PlayerPool<Player>,     mediaSourceFactory: DefaultMediaSourceFactory,     imaAdsLoaderBuilder: ImaAdsLoader.Builder? = null) : BridgeCreator<PlayerView>

A BridgeCreator that creates instance of PlayerViewImaBridge if the Media contains an ad media Uri, or fallback to a PlayerViewBridge otherwise.