Package com.lagradost.cloudstream3.ui.player

Types

AbstractPlayerFragment
Link copied to clipboard
abstract class AbstractPlayerFragment(player: IPlayer) : Fragment
AudioTrack
Link copied to clipboard
data class AudioTrack(id: String?, label: String?, language: String?) : Track
BasicLink
Link copied to clipboard
data class BasicLink(url: String, name: String?)
Used to open the player more easily with the LinkGenerator
CS3IPlayer
Link copied to clipboard
class CS3IPlayer : IPlayer
Cache
CSPlayerEvent
Link copied to clipboard
enum CSPlayerEvent : Enum<CSPlayerEvent>
CSPlayerLoading
Link copied to clipboard
enum CSPlayerLoading : Enum<CSPlayerLoading>
CurrentTracks
Link copied to clipboard
data class CurrentTracks(currentVideoTrack: VideoTrack?, currentAudioTrack: AudioTrack?, allVideoTracks: List<VideoTrack>, allAudioTracks: List<AudioTrack>)
CustomDecoder
Link copied to clipboard
class CustomDecoder(fallbackFormat: Format?) : SubtitleDecoder
CustomSubtitleDecoderFactory
Link copied to clipboard
class CustomSubtitleDecoderFactory : SubtitleDecoderFactory
See https://github.com/google/ExoPlayer/blob/release-v2/library/core/src/main/java/com/google/android/exoplayer2/text/SubtitleDecoderFactory.
CustomTextRenderer
Link copied to clipboard
class CustomTextRenderer(offset: Long, output: TextOutput?, outputLooper: Looper?, decoderFactory: SubtitleDecoderFactory) : NonFinalTextRenderer
DownloadedPlayerActivity
Link copied to clipboard
class DownloadedPlayerActivity : AppCompatActivity
DownloadFileGenerator
Link copied to clipboard
class DownloadFileGenerator(episodes: List<ExtractorUri>, currentIndex: Int) : IGenerator
EpisodeDiffCallback
Link copied to clipboard
class EpisodeDiffCallback(oldList: List<Any>, newList: List<Any>) : DiffUtil.Callback
ExtractorLinkGenerator
Link copied to clipboard
class ExtractorLinkGenerator(links: List<ExtractorLink>, subtitles: List<SubtitleData>) : IGenerator
FullScreenPlayer
Link copied to clipboard
open class FullScreenPlayer : AbstractPlayerFragment
GeneratorPlayer
Link copied to clipboard
class GeneratorPlayer : FullScreenPlayer
IGenerator
Link copied to clipboard
interface IGenerator
InvalidFileException
Link copied to clipboard
class InvalidFileException(msg: String) : Exception
IPlayer
Link copied to clipboard
interface IPlayer
Abstract Exoplayer logic, can be expanded to other players
LinkGenerator
Link copied to clipboard
class LinkGenerator(links: List<BasicLink>, extract: Boolean, referer: String?, isM3u8: Boolean?) : IGenerator
NonFinalTextRenderer
Link copied to clipboard
open class NonFinalTextRenderer : BaseRenderer, Handler.Callback
A renderer for text.
PlayerEpisodeAdapter
Link copied to clipboard
class PlayerEpisodeAdapter(items: MutableList<Any>, clickCallback: (PlayerEpisodeClickEvent) -> Unit) : RecyclerView.Adapter<RecyclerView.ViewHolder>
PlayerEpisodeClickEvent
Link copied to clipboard
data class PlayerEpisodeClickEvent(action: Int, data: Any)
PlayerEventType
Link copied to clipboard
enum PlayerEventType : Enum<PlayerEventType>
PlayerGeneratorViewModel
Link copied to clipboard
class PlayerGeneratorViewModel : ViewModel
PlayerPipHelper
Link copied to clipboard
class PlayerPipHelper
PlayerResize
Link copied to clipboard
enum PlayerResize : Enum<PlayerResize>
PlayerSubtitleHelper
Link copied to clipboard
class PlayerSubtitleHelper
RepoLinkGenerator
Link copied to clipboard
class RepoLinkGenerator(episodes: List<ResultEpisode>, currentIndex: Int, page: LoadResponse?) : IGenerator
SSLTrustManager
Link copied to clipboard
class SSLTrustManager : X509TrustManager
SubtitleData
Link copied to clipboard
data class SubtitleData(name: String, url: String, origin: SubtitleOrigin, mimeType: String, headers: Map<String, String>)
SubtitleOrigin
Link copied to clipboard
enum SubtitleOrigin : Enum<SubtitleOrigin>
SubtitleStatus
Link copied to clipboard
enum SubtitleStatus : Enum<SubtitleStatus>
Track
Link copied to clipboard
interface Track
VideoTrack
Link copied to clipboard
data class VideoTrack(id: String?, label: String?, language: String?, width: Int?, height: Int?) : Track

Properties

ACTION_MEDIA_CONTROL
Link copied to clipboard
const val ACTION_MEDIA_CONTROL: String
DOUBLE_TAB_MAXIMUM_HOLD_TIME
Link copied to clipboard
const val DOUBLE_TAB_MAXIMUM_HOLD_TIME: Long = 200L
DOUBLE_TAB_MINIMUM_TIME_BETWEEN
Link copied to clipboard
const val DOUBLE_TAB_MINIMUM_TIME_BETWEEN: Long = 200L
DOUBLE_TAB_PAUSE_PERCENTAGE
Link copied to clipboard
const val DOUBLE_TAB_PAUSE_PERCENTAGE: Double = 0.15
DTAG
Link copied to clipboard
const val DTAG: String
EXTRA_CONTROL_TYPE
Link copied to clipboard
const val EXTRA_CONTROL_TYPE: String
HORIZONTAL_MULTIPLIER
Link copied to clipboard
const val HORIZONTAL_MULTIPLIER: Float = 2.0f
MINIMUM_HORIZONTAL_SWIPE
Link copied to clipboard
const val MINIMUM_HORIZONTAL_SWIPE: Float = 2.0f
MINIMUM_SEEK_TIME
Link copied to clipboard
const val MINIMUM_SEEK_TIME: Long = 7000L
MINIMUM_VERTICAL_SWIPE
Link copied to clipboard
const val MINIMUM_VERTICAL_SWIPE: Float = 2.0f
NEXT_WATCH_EPISODE_PERCENTAGE
Link copied to clipboard
const val NEXT_WATCH_EPISODE_PERCENTAGE: Int = 90
PLAYBACK_SPEED
Link copied to clipboard
const val PLAYBACK_SPEED: String
PLAYBACK_SPEED_KEY
Link copied to clipboard
const val PLAYBACK_SPEED_KEY: String
PREFERRED_AUDIO_LANGUAGE_KEY
Link copied to clipboard
const val PREFERRED_AUDIO_LANGUAGE_KEY: String
PREFERRED_SUBS_KEY
Link copied to clipboard
const val PREFERRED_SUBS_KEY: String
PRELOAD_NEXT_EPISODE_PERCENTAGE
Link copied to clipboard
const val PRELOAD_NEXT_EPISODE_PERCENTAGE: Int = 80
RESIZE_MODE_KEY
Link copied to clipboard
const val RESIZE_MODE_KEY: String
SKIP_OP_VIDEO_PERCENTAGE
Link copied to clipboard
const val SKIP_OP_VIDEO_PERCENTAGE: Int = 50
STATE_PLAYER_FULLSCREEN
Link copied to clipboard
const val STATE_PLAYER_FULLSCREEN: String
STATE_PLAYER_PLAYING
Link copied to clipboard
const val STATE_PLAYER_PLAYING: String
STATE_RESUME_POSITION
Link copied to clipboard
const val STATE_RESUME_POSITION: String
STATE_RESUME_WINDOW
Link copied to clipboard
const val STATE_RESUME_WINDOW: String
TAG
Link copied to clipboard
const val TAG: String
UPDATE_SYNC_PROGRESS_PERCENTAGE
Link copied to clipboard
const val UPDATE_SYNC_PROGRESS_PERCENTAGE: Int = 80
VERTICAL_MULTIPLIER
Link copied to clipboard
const val VERTICAL_MULTIPLIER: Float = 2.0f