lib / tv.smartclip.smartclientandroid.lib.video_player

Package tv.smartclip.smartclientandroid.lib.video_player

Types

AbsVideoPlayerWrapper

Implements Observables/Controllable and links them with their corresponding property. Also triggers new event when one of the properties changes.

abstract class AbsVideoPlayerWrapper : SxVideoPlayerWrapper

ExoHolder

Implementation of IExoHolder. Binds the ExoPlayer to the PlayerView and disables the controller on initialization.

data class ExoHolder : IExoHolder

ExoVideoSwitcher

open class ExoVideoSwitcher : IExoVideoSwitcher, IExoVideoLoader

ExoWrapper

Implements the SxVideoPlayerWrapper for the SimpleExoPlayer.

open class ExoWrapper : AbsVideoPlayerWrapper, IExoVideoLoader

IExoHolder

Holds instances of PlayerView and ExoPlayer.

interface IExoHolder

IExoVideoLoader

Responsible to load a media Url inside the IExoHolder.

interface IExoVideoLoader : IExoHolder

IExoVideoSwitcher

Responsible to switch videos from content to advertising and back.

interface IExoVideoSwitcher

InstreamExoWrapper

Implements the SxInstreamVideoPlayerWrapper for the SimpleExoPlayer.

open class InstreamExoWrapper : ExoWrapper, SxInstreamVideoPlayerWrapper, IExoVideoSwitcher

PlaybackState

Generic video player playback state.

sealed class PlaybackState

SxInstreamVideoPlayerWrapper

Describes the instream video player with support for observing the different properties of the player.

interface SxInstreamVideoPlayerWrapper : SxVideoPlayerWrapper

SxVideoPlayerEvent

Event contains all state relevant video player properties.

data class SxVideoPlayerEvent

SxVideoPlayerWrapper

Describes the outstream video player with support for observing the different properties of the player.

interface SxVideoPlayerWrapper : Releasable