Package kohii.v1.ads.exoplayer
Types
Link copied to clipboard
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
Content copied to clipboard
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>
Content copied to clipboard
A BridgeCreator that creates instance of PlayerViewImaBridge if the Media contains an ad media Uri, or fallback to a PlayerViewBridge otherwise.