Manilo
class Manilo( master: Master, playableCreator: PlayableCreator<PlayerView> = PlayerViewPlayableCreator.Builder(master.app)
.setBridgeCreatorFactory(defaultBridgeCreatorFactory)
.build(), rendererProviderFactory: RendererProviderFactory = ::PlayerViewProvider) : Kohii, AdEvent.AdEventListener
Content copied to clipboard
An Engine that employs the ExoPlayer API and supports Ads using the Google IMA SDK (via the ExoPlayer Ima extension).
Constructors
Link copied to clipboard
fun Manilo( context: Context, playerPool: PlayerPool<Player> = ExoPlayerPool(
context = context.applicationContext,
userAgent = Common.getUserAgent(context.applicationContext, BuildConfig.LIB_NAME)
), imaAdsLoaderBuilder: ImaAdsLoader.Builder?, rendererProviderFactory: RendererProviderFactory = ::PlayerViewProvider)
Content copied to clipboard
Creates a new instance of Manilo from a Context and a custom ImaAdsLoader.Builder. Application can also use a custom PlayerPool for the Player, but they are all optional.
Link copied to clipboard
fun Manilo( context: Context, config: ExoPlayerConfig, imaAdsLoaderBuilder: ImaAdsLoader.Builder?, rendererProviderFactory: RendererProviderFactory = ::PlayerViewProvider)
Content copied to clipboard
Creates a new instance of Manilo from a Context, an ExoPlayerConfig and a custom ImaAdsLoader.Builder.
Link copied to clipboard
fun Manilo( context: Context, playerCreator: (Context) -> Player? = null, imaAdsLoaderBuilder: ImaAdsLoader.Builder?, rendererProviderFactory: RendererProviderFactory = ::PlayerViewProvider)
Content copied to clipboard
Link copied to clipboard
fun Manilo( master: Master, playableCreator: PlayableCreator<PlayerView> = PlayerViewPlayableCreator.Builder(master.app)
.setBridgeCreatorFactory(defaultBridgeCreatorFactory)
.build(), rendererProviderFactory: RendererProviderFactory = ::PlayerViewProvider)
Content copied to clipboard
Types
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun register( fragment: Fragment, memoryMode: MemoryMode, activeLifecycleState: Lifecycle.State): Manager
Content copied to clipboard
fun register( activity: FragmentActivity, memoryMode: MemoryMode, activeLifecycleState: Lifecycle.State): Manager
Content copied to clipboard
Link copied to clipboard
inline fun setUp(uri: Uri, crossinline options: Binder.Options.() -> Unit): Binder
Content copied to clipboard
inline fun setUp(media: Media, crossinline options: Binder.Options.() -> Unit): Binder
Content copied to clipboard
inline fun setUp(url: String, crossinline options: Binder.Options.() -> Unit): Binder
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard