GeneratorPlayer

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class TempMetaData(var episode: Int? = null, var season: Int? = null, var name: String? = null, var imdbId: String? = null)

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
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var subView: <Error class: unknown class>?
Link copied to clipboard

Functions

Link copied to clipboard
open override fun embeddedSubtitlesFetched(subtitles: List<SubtitleData>)
Link copied to clipboard
open override fun exitedPipMode()
Link copied to clipboard
open override fun hasNextMirror(): Boolean
Link copied to clipboard
open fun lockOrientation(activity: Activity)
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 override fun nextEpisode()
Link copied to clipboard
open override fun nextMirror()
Link copied to clipboard
Link copied to clipboard
open override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View?
Link copied to clipboard
open override fun onDestroy()
Link copied to clipboard
open override fun onDestroyView()
Link copied to clipboard
open override fun onDownload(event: DownloadEvent)
Link copied to clipboard
open fun onPictureInPictureModeChanged(isInPictureInPictureMode: Boolean)
Link copied to clipboard
open override fun onResume()
Link copied to clipboard
open fun onSaveInstanceState(outState: Bundle)
Link copied to clipboard
open fun onStop()
Link copied to clipboard
open override fun onTimestamp(timestamp: EpisodeSkip.SkipStamp?)
Link copied to clipboard
open override fun onTimestampSkipped(timestamp: EpisodeSkip.SkipStamp)
Link copied to clipboard
open override fun onTracksInfoChanged()
Link copied to clipboard
open override fun onViewCreated(view: View, savedInstanceState: Bundle?)
Link copied to clipboard
open override fun openOnlineSubPicker(context: Context, loadResponse: LoadResponse?, dismissCallback: () -> Unit)
Link copied to clipboard
open override fun playerDimensionsLoaded(width: Int, height: Int)
Link copied to clipboard
open override fun playerError(exception: Throwable)
Link copied to clipboard
open override fun playerPositionChanged(position: Long, duration: Long)
Link copied to clipboard
open override fun playerStatusChanged()
Link copied to clipboard
open override fun prevEpisode()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun resize(resize: PlayerResize, showToast: Boolean)
fun resize(resize: Int, showToast: Boolean)
Link copied to clipboard
fun setPlayerDimen(widthHeight: Pair<Int, Int>?)
Link copied to clipboard
fun setTitle()
Link copied to clipboard
open override fun showMirrorsDialogue()
Link copied to clipboard
open override fun showTracksDialogue()
Link copied to clipboard
open override fun subtitlesChanged()
Link copied to clipboard