lib / tv.smartclip.smartclientandroid.lib.video_player / IExoVideoLoader / ExoVideoLoader

ExoVideoLoader

class ExoVideoLoader : IExoVideoLoader, IExoHolder

Constructors

<init>

ExoVideoLoader(playerHolder: IExoHolder)

Functions

loadMedia

fun loadMedia(mediaUrl: String, initPosition: Long?, initWindowIndex: Int?, autoPlay: Boolean, disableSeeking: Boolean, closedCaptions: List<SxClosedCaption>, onError: (lastError: SxMediaError?) -> Unit): Unit

release

Removes all external class references. Has to be called when the implementing class is not needed anymore.

fun release(): Unit