AbstractPlayerFragment

abstract class AbstractPlayerFragment(val player: IPlayer = CS3IPlayer())(source)

Inheritors

Constructors

Link copied to clipboard
constructor(player: IPlayer = CS3IPlayer())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var playerView: <Error class: unknown class>?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var subView: <Error class: unknown class>?

Functions

Link copied to clipboard
Link copied to clipboard
open fun exitedPipMode()
Link copied to clipboard
Link copied to clipboard
open fun mainCallback(event: PlayerEvent)

This receives the events from the player, if you want to append functionality you do it here, do note that this only receives events for UI changes, and returning early WONT stop it from changing in eg the player time or pause status

Link copied to clipboard
open fun nextEpisode()
Link copied to clipboard
open fun nextMirror()
Link copied to clipboard
Link copied to clipboard
open fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View?
Link copied to clipboard
open fun onDestroy()
Link copied to clipboard
open fun onDownload(event: DownloadEvent)
Link copied to clipboard
open fun onPictureInPictureModeChanged(isInPictureInPictureMode: Boolean)
Link copied to clipboard
open fun onResume()
Link copied to clipboard
open fun onStop()
Link copied to clipboard
open fun onTimestamp(timestamp: EpisodeSkip.SkipStamp?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onViewCreated(view: View, savedInstanceState: Bundle?)
Link copied to clipboard
open fun playerDimensionsLoaded(width: Int, height: Int)
Link copied to clipboard
open fun playerError(exception: Throwable)
Link copied to clipboard
open fun playerPositionChanged(position: Long, duration: Long)
Link copied to clipboard
Link copied to clipboard
open fun prevEpisode()
Link copied to clipboard
fun resize(resize: PlayerResize, showToast: Boolean)
fun resize(resize: Int, showToast: Boolean)
Link copied to clipboard
open fun subtitlesChanged()