Discover Factory
object DiscoverFactory
Functions
Link copied to clipboard
fun createAiringToday(watchProviders: TmdbDiscoverFilter<Int>? = null, watchRegion: String? = null): TmdbDiscover.Show
Link copied to clipboard
Link copied to clipboard
fun createCurrentlyAiring(watchProviders: TmdbDiscoverFilter<Int>? = null, watchRegion: String? = null): TmdbDiscover.Show
Shows with an episode in the recent past, unlike createOnTv, which looks ahead.
Link copied to clipboard
Link copied to clipboard
fun createGenre(mediaType: TmdbMediaType, genres: TmdbDiscoverFilter<String>, watchProviders: TmdbDiscoverFilter<Int>? = null, watchRegion: String? = null): TmdbDiscover
e. g. discover/movie?page=1&with_genres=28&sort_by=popularity.desc
Link copied to clipboard
fun createNetwork(network: Int, watchProviders: TmdbDiscoverFilter<Int>? = null, watchRegion: String? = null): TmdbDiscover.Show
e. g. discover/tv?page=1&with_networks=213&language=de&sort_by=popularity.desc®ion=DE
Link copied to clipboard
fun createNetworks(networks: TmdbDiscoverFilter<Int>, watchProviders: TmdbDiscoverFilter<Int>? = null, watchRegion: String? = null): TmdbDiscover.Show
e. g. discover/tv?page=1&with_networks=213|1024&sort_by=popularity.desc
Link copied to clipboard
fun createNowPlaying(watchProviders: TmdbDiscoverFilter<Int>? = null, watchRegion: String? = null): TmdbDiscover.Movie
Link copied to clipboard
fun createOnDvd(watchProviders: TmdbDiscoverFilter<Int>? = null, watchRegion: String? = null): TmdbDiscover
e. g. discover/movie?page=1&sort_by=release_date.desc&with_release_type=5
Link copied to clipboard
fun createOnStreaming(mediaType: TmdbMediaType, watchProviders: TmdbDiscoverFilter<Int>, watchRegion: String): TmdbDiscover
Link copied to clipboard
fun createOnTv(watchProviders: TmdbDiscoverFilter<Int>? = null, watchRegion: String? = null): TmdbDiscover.Show
Link copied to clipboard
fun createPopular(mediaType: TmdbMediaType, watchProviders: TmdbDiscoverFilter<Int>? = null, watchRegion: String? = null, withinYears: Int? = null): TmdbDiscover
withinYears bounds the result to titles released or aired in that many years around today. Popularity alone keeps returning long-tail catalog titles, which rarely suits a "popular now" row.
Link copied to clipboard
fun createTopRated(mediaType: TmdbMediaType, watchProviders: TmdbDiscoverFilter<Int>? = null, watchRegion: String? = null): TmdbDiscover
Link copied to clipboard
fun createUpcoming(watchProviders: TmdbDiscoverFilter<Int>? = null, watchRegion: String? = null): TmdbDiscover
e. g. discover/movie?page=1&release_date.lte=2021-05-08&language=de&sort_by=popularity.desc®ion=DE&release_date.gte=2021-04-19