Свойство | Тип | Описание | |
---|---|---|---|
GetMoviesListFromWrapper | IEnumerable |
Метод | Описание | |
---|---|---|
ChangeTmdbLanguage ( ILanguage language ) : void |
Change the culture of TMDb
|
|
DownloadBackgroundImageAsync ( |
Download the movie's background image
|
|
DownloadCastImageAsync ( |
Download actors' image for a movie
|
|
DownloadCoverImageAsync ( IEnumerable |
Download cover image for each of the movies provided
|
|
DownloadPosterImageAsync ( |
Download the movie's poster image
|
|
DownloadSubtitleAsync ( |
Download a subtitle
|
|
GetGenresAsync (
|
Get all movie's genres
|
|
GetGreatestMoviesAsync ( int page, int limit, double ratingFilter, |
Get greatest movies by page
|
|
GetMovieFullDetailsAsync ( Popcorn.Models.Movie.Short.MovieShort movieToLoad, |
Get TMDb movie informations
|
|
GetMovieTrailerAsync ( |
Get the link to the youtube trailer of a movie
|
|
GetPopularMoviesAsync ( int page, int limit, double ratingFilter, |
Get popular movies by page
|
|
GetRecentMoviesAsync ( int page, int limit, double ratingFilter, |
Get recent movies by page
|
|
LoadSubtitlesAsync ( |
Get the movie's subtitles according to a language
|
|
MovieService ( ) : System |
Initialize a new instance of MovieService class
|
|
SearchMoviesAsync ( string criteria, int page, int limit, Popcorn.Models.Genre.MovieGenre genre, double ratingFilter, |
Search movies by criteria
|
|
TranslateMovieFullAsync ( |
Translate movie informations (title, description, ...)
|
|
TranslateMovieShortAsync ( Popcorn.Models.Movie.Short.MovieShort movieToTranslate, |
Translate movie informations (title, description, ...)
|
Метод | Описание | |
---|---|---|
GetMoviesListFromWrapper ( Popcorn.Models.Movie.Short.WrapperMovieShort wrapper ) : IEnumerable |
Get movies as a list from wrapped movies
|
public ChangeTmdbLanguage ( ILanguage language ) : void | ||
language | ILanguage | Language to set |
Результат | void |
public DownloadBackgroundImageAsync ( |
||
movie | The movie to process | |
ct | Used to cancel downloading background image | |
Результат | Task |
public DownloadCastImageAsync ( |
||
movie | The movie to process | |
ct | Used to cancel downloading actor image | |
Результат | Task |
public DownloadCoverImageAsync ( IEnumerable |
||
movies | IEnumerable |
The movies to process |
ct | Used to cancel task | |
Результат | Task |
public DownloadPosterImageAsync ( |
||
movie | The movie to process | |
ct | Used to cancel downloading poster image | |
Результат | Task |
public DownloadSubtitleAsync ( |
||
movie | The movie of which to retrieve its subtitles | |
progress | IProgress |
Report the progress of the download |
ct | Cancellation token | |
Результат | Task |
public GetGenresAsync (
|
||
ct | Used to cancel loading genres | |
Результат | Task
|
public GetGreatestMoviesAsync ( int page, int limit, double ratingFilter, |
||
page | int | Page to return |
limit | int | The maximum number of movies to return |
ratingFilter | double | Used to filter by rating |
ct | Cancellation token | |
genre | Popcorn.Models.Genre.MovieGenre | The genre to filter |
Результат | int>>.Task |
public GetMovieFullDetailsAsync ( Popcorn.Models.Movie.Short.MovieShort movieToLoad, |
||
movieToLoad | Popcorn.Models.Movie.Short.MovieShort | Movie to load |
ct | Used to cancel loading | |
Результат | Task |
public GetMovieTrailerAsync ( |
||
movie | The movie | |
ct | Used to cancel loading trailer | |
Результат | Task |
public GetPopularMoviesAsync ( int page, int limit, double ratingFilter, |
||
page | int | Page to return |
limit | int | The maximum number of movies to return |
ratingFilter | double | Used to filter by rating |
ct | Cancellation token | |
genre | Popcorn.Models.Genre.MovieGenre | The genre to filter |
Результат | int>>.Task |
public GetRecentMoviesAsync ( int page, int limit, double ratingFilter, |
||
page | int | Page to return |
limit | int | The maximum number of movies to return |
ratingFilter | double | Used to filter by rating |
ct | Cancellation token | |
genre | Popcorn.Models.Genre.MovieGenre | The genre to filter |
Результат | int>>.Task |
public LoadSubtitlesAsync ( |
||
movie | The movie of which to retrieve its subtitles | |
ct | Cancellation token | |
Результат | Task |
public SearchMoviesAsync ( string criteria, int page, int limit, Popcorn.Models.Genre.MovieGenre genre, double ratingFilter, |
||
criteria | string | Criteria used for search |
page | int | Page to return |
limit | int | The maximum number of movies to return |
genre | Popcorn.Models.Genre.MovieGenre | The genre to filter |
ratingFilter | double | Used to filter by rating |
ct | Cancellation token | |
Результат | int>>.Task |
public TranslateMovieFullAsync ( |
||
movieToTranslate | Movie to translate | |
ct | Used to cancel translation | |
Результат | Task |
public TranslateMovieShortAsync ( Popcorn.Models.Movie.Short.MovieShort movieToTranslate, |
||
movieToTranslate | Popcorn.Models.Movie.Short.MovieShort | Movie to translate |
ct | Used to cancel translation | |
Результат | Task |