Kohii

open class Kohii(    master: Master,     playableCreator: PlayableCreator<PlayerView> = PlayerViewPlayableCreator(master),     rendererProviderFactory: RendererProviderFactory = ::PlayerViewProvider) : Engine<PlayerView>

Constructors

Link copied to clipboard
fun Kohii(    master: Master,     playableCreator: PlayableCreator<PlayerView> = PlayerViewPlayableCreator(master),     rendererProviderFactory: RendererProviderFactory = ::PlayerViewProvider)

Types

Link copied to clipboard
class Builder(context: Context)

Creates a ControlDispatcher that can be used to setup the renderer when it is a PlayerView. This method must be used for the Playback that supports manual playback control (the Playback.Config.controller is not null).

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun applyVolumeInfo(    volumeInfo: VolumeInfo,     target: Any,     scope: Scope)
Link copied to clipboard
fun cancel(container: ViewGroup)
fun cancel(tag: Any)
Link copied to clipboard
open fun cleanUp()
Link copied to clipboard
fun lockActivity(activity: FragmentActivity)
Link copied to clipboard
fun lockBucket(view: View)
Link copied to clipboard
fun lockManager(manager: Manager)
Link copied to clipboard
fun lockPlayback(playback: Playback)
Link copied to clipboard
open override fun prepare(manager: Manager)
Link copied to clipboard
fun register(    fragment: Fragment,     memoryMode: MemoryMode,     activeLifecycleState: Lifecycle.State): Manager
fun register(    activity: FragmentActivity,     memoryMode: MemoryMode,     activeLifecycleState: Lifecycle.State): Manager
Link copied to clipboard
inline fun setUp(uri: Uri, crossinline options: Binder.Options.() -> Unit): Binder
inline fun setUp(media: Media, crossinline options: Binder.Options.() -> Unit): Binder
inline fun setUp(url: String, crossinline options: Binder.Options.() -> Unit): Binder
Link copied to clipboard
fun stick(lifecycleOwner: LifecycleOwner)
fun stick(playback: Playback)
Link copied to clipboard
fun unlockActivity(activity: FragmentActivity)
Link copied to clipboard
fun unlockBucket(view: View)
Link copied to clipboard
fun unlockManager(manager: Manager)
Link copied to clipboard
fun unlockPlayback(playback: Playback)
Link copied to clipboard
fun unstick(lifecycleOwner: LifecycleOwner)
fun unstick(playback: Playback)

Properties

Link copied to clipboard
val master: Master
Link copied to clipboard
val playableCreator: PlayableCreator<PlayerView>