Listener

interface Listener

Interface for providing listener of video player events.

Functions

Link copied to clipboard
open fun onIsPlayingChanged(isPlaying: Boolean)

Callback which will be invoked when SLRVideoPlayer is paused/resumed

Link copied to clipboard
abstract fun onPlayerError(cause: Throwable?)

Returns the error that caused playback to fail.

Link copied to clipboard

Callback which will be invoked when SLRVideoPlayer state will be changed.