| Modifier and Type | Method and Description |
|---|---|
StatusCode |
TheMovieDbApi.addToWatchList(String sessionId,
int accountId,
MediaType mediaType,
Integer mediaId)
Add a movie to an accounts watch list.
|
StatusCode |
TheMovieDbApi.modifyFavoriteStatus(String sessionId,
int accountId,
Integer mediaId,
MediaType mediaType,
boolean isFavorite)
Add or remove a movie to an accounts favourite list.
|
StatusCode |
TheMovieDbApi.removeFromWatchList(String sessionId,
int accountId,
MediaType mediaType,
Integer mediaId)
Remove a movie from an accounts watch list.
|
| Modifier and Type | Method and Description |
|---|---|
static MediaType |
MediaType.fromString(String mediaType)
Convert a string into an Enum type
|
static MediaType |
MediaType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MediaType[] |
MediaType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
StatusCode |
TmdbAccount.modifyFavoriteStatus(String sessionId,
int accountId,
MediaType mediaType,
int mediaId,
boolean setFavorite)
Add or remove a movie to an accounts favorite list.
|
StatusCode |
TmdbAccount.modifyWatchList(String sessionId,
int accountId,
MediaType mediaType,
Integer movieId,
boolean addToWatchlist)
Add or remove a movie to an accounts watch list.
|
| Modifier and Type | Method and Description |
|---|---|
MediaType |
ArtworkMedia.getMediaType() |
| Modifier and Type | Method and Description |
|---|---|
void |
ArtworkMedia.setMediaType(MediaType mediaType) |
| Modifier and Type | Method and Description |
|---|---|
MediaType |
CreditBasic.getMediaType() |
| Modifier and Type | Method and Description |
|---|---|
void |
CreditBasic.setMediaType(MediaType mediaType) |
| Modifier and Type | Method and Description |
|---|---|
MediaType |
MediaBasic.getMediaType() |
| Modifier and Type | Method and Description |
|---|---|
void |
MediaBasic.setMediaType(MediaType mediaType) |
Copyright © 2012–2017. All rights reserved.