lib / tv.smartclip.smartclientandroid.lib.video_player / PlaybackState

PlaybackState

sealed class PlaybackState

Generic video player playback state.

Types

BUFFERING

Buffering media content.

object BUFFERING : PlaybackState

ENDED

Content reached it's end.

object ENDED : PlaybackState

ERROR

Video player produced exception.

data class ERROR : PlaybackState

IDLE

Load media request was no yet forwarded to player.

object IDLE : PlaybackState

PAUSED

Content playback is paused.

object PAUSED : PlaybackState

PLAYING

Playback of the content is active.

object PLAYING : PlaybackState

Properties

name

Name of the playback state.

val name: String

Functions

toString

open fun toString(): String