EpisodeResponse

Properties

Link copied to clipboard
abstract var nextAiring: NextAiring?
Link copied to clipboard
abstract var seasonNames: List<SeasonData>?
Link copied to clipboard
abstract var showStatus: ShowStatus?

Functions

Link copied to clipboard
@JvmName(name = "addSeasonNamesSeasonData")
fun EpisodeResponse.addSeasonNames(names: List<SeasonData>)
@JvmName(name = "addSeasonNamesString")
fun EpisodeResponse.addSeasonNames(names: List<String>)
Link copied to clipboard
abstract fun getLatestEpisodes(): Map<DubStatus, Int?>
Link copied to clipboard
abstract fun getTotalEpisodeIndex(episode: Int, season: Int): Int

Count all episodes in all previous seasons up until this episode to get a total count. Example: Season 1: 10 episodes. Season 2: 6 episodes.