index.md 1.7 KB

//app/org.mjdev.tvapp.api/MovieAPI

MovieAPI

[androidJvm]\ class MovieAPI

Constructors

MovieAPI [androidJvm]
constructor()

Functions

Name Summary
findMovieById [androidJvm]
suspend fun findMovieById(id: Long): Result<Movie>
getMovieListByCategory [androidJvm]
suspend fun getMovieListByCategory(category: String): Result<List<Movie>>
loadCategoryList [androidJvm]
suspend fun loadCategoryList(): Result<List<Category>>
loadFeaturedMovieList [androidJvm]
suspend fun loadFeaturedMovieList(): Result<List<Movie>>