|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Enum Summary | |
---|---|
DayOfTheWeek | |
Gender | |
MediaType | |
Rating | |
RatingType |
All Trakt-defined enumerations which are used both in request responses as well as building remote requests.
Serialization of these enumerations is handled by overriding the
toString()
method. Additionally, all enumerations must implement
the TraktEnumeration
interface in order to
be properly serialized.
Deserialization of an enumerable value requires registration with the
GSON builder in the
TraktApiService.getGsonBuilder()
method.
An appropriate method of deserialization should be handled by a static
method defined within the type, by convention,
fromString(String)
.
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |