Public Member Functions | |
Cast (String name, String role, String thumbnail) | |
Cast (JsonNode node) | |
int | describeContents () |
JsonNode | toJsonNode () |
void | writeToParcel (Parcel parcel, int flags) |
Public Attributes | |
final String | name |
final String | role |
final String | thumbnail |
Static Public Attributes | |
static final Parcelable.Creator< Cast > | CREATOR |
static final String | NAME = "name" |
static final String | ROLE = "role" |
static final String | THUMBNAIL = "thumbnail" |
Protected Member Functions | |
Cast (Parcel parcel) | |
Static Package Functions | |
static List< Cast > | getVideoModelCastList (JsonNode node, String key) |
API Name: null
Note: This class is used as result only.
This class was generated automatically from XBMC's JSON-RPC introspect.
Definition at line 44 of file VideoModel.java.
org.xbmc.android.jsonrpc.api.model.VideoModel.Cast.Cast | ( | String | name, |
String | role, | ||
String | thumbnail | ||
) | [inline] |
name | |
role | |
thumbnail |
Definition at line 61 of file VideoModel.java.
org.xbmc.android.jsonrpc.api.model.VideoModel.Cast.Cast | ( | JsonNode | node | ) | [inline] |
Construct from JSON object.
node | JSON object representing a Cast object |
Definition at line 71 of file VideoModel.java.
org.xbmc.android.jsonrpc.api.model.VideoModel.Cast.Cast | ( | Parcel | parcel | ) | [inline, protected] |
Construct via parcel.
Definition at line 118 of file VideoModel.java.
int org.xbmc.android.jsonrpc.api.model.VideoModel.Cast.describeContents | ( | ) | [inline] |
Implements android.os.Parcelable.
Definition at line 139 of file VideoModel.java.
static List<Cast> org.xbmc.android.jsonrpc.api.model.VideoModel.Cast.getVideoModelCastList | ( | JsonNode | node, |
String | key | ||
) | [inline, static, package] |
Extracts a list of Cast objects from a JSON array.
node | ObjectNode containing the list of objects. |
key | Key pointing to the node where the list is stored. |
Definition at line 91 of file VideoModel.java.
JsonNode org.xbmc.android.jsonrpc.api.model.VideoModel.Cast.toJsonNode | ( | ) | [inline, virtual] |
Returns a JSON-serialized version of this object.
Implements org.xbmc.android.jsonrpc.api.JsonSerializable.
Definition at line 78 of file VideoModel.java.
void org.xbmc.android.jsonrpc.api.model.VideoModel.Cast.writeToParcel | ( | Parcel | parcel, |
int | flags | ||
) | [inline] |
Flatten this object into a Parcel.
parcel | the Parcel in which the object should be written. |
flags | additional flags about how the object should be written. |
Implements android.os.Parcelable.
Definition at line 109 of file VideoModel.java.
final Parcelable.Creator<Cast> org.xbmc.android.jsonrpc.api.model.VideoModel.Cast.CREATOR [static] |
new Parcelable.Creator<Cast>() { @Override public Cast createFromParcel(Parcel parcel) { return new Cast(parcel); } @Override public Cast[] newArray(int n) { return new Cast[n]; } }
Generates instances of this Parcelable class from a Parcel.
Definition at line 127 of file VideoModel.java.
final String org.xbmc.android.jsonrpc.api.model.VideoModel.Cast.NAME = "name" [static] |
Definition at line 47 of file VideoModel.java.
Definition at line 52 of file VideoModel.java.
final String org.xbmc.android.jsonrpc.api.model.VideoModel.Cast.ROLE = "role" [static] |
Definition at line 48 of file VideoModel.java.
Definition at line 53 of file VideoModel.java.
final String org.xbmc.android.jsonrpc.api.model.VideoModel.Cast.THUMBNAIL = "thumbnail" [static] |
Definition at line 49 of file VideoModel.java.
Definition at line 54 of file VideoModel.java.