Package-level declarations

Required data classes to interact with Aniyomi.

Types

Link copied to clipboard
sealed class AnimeFilter<T>(val name: String, var state: T)
Link copied to clipboard
data class AnimeFilterList(val list: List<AnimeFilter<*>>) : List<AnimeFilter<*>>
Link copied to clipboard
data class AnimesPage(val animes: List<SAnime>, val hasNextPage: Boolean)
Link copied to clipboard

Define the update strategy for a single SAnime. The strategy used will only take effect on the library update.

Link copied to clipboard
interface SAnime
Link copied to clipboard
interface SEpisode
Link copied to clipboard
data class Track(val url: String, val lang: String)

A sub/dub track.

Link copied to clipboard
data class Video(val url: String, val quality: String, var videoUrl: String?, val headers: Headers? = null, val subtitleTracks: List<Track> = emptyList(), val audioTracks: List<Track> = emptyList())

The instance that contains the data needed to watch a video.