Public Member Functions | |
int | describeContents () |
Subtitle (Integer index, String language, String name) | |
Subtitle (JsonNode node) | |
JsonNode | toJsonNode () |
void | writeToParcel (Parcel parcel, int flags) |
Public Attributes | |
final Integer | index |
final String | language |
final String | name |
Static Public Attributes | |
static final String | API_TYPE = "Player.Subtitle" |
static final Parcelable.Creator< Subtitle > | CREATOR |
static final String | INDEX = "index" |
static final String | LANGUAGE = "language" |
static final String | NAME = "name" |
Protected Member Functions | |
Subtitle (Parcel parcel) | |
Static Package Functions | |
static List< Subtitle > | getPlayerModelSubtitleList (JsonNode node, String key) |
API Name: Player.Subtitle
Note: This class is used as result only.
This class was generated automatically from XBMC's JSON-RPC introspect.
Definition at line 895 of file PlayerModel.java.
org.xbmc.android.jsonrpc.api.model.PlayerModel.Subtitle.Subtitle | ( | Integer | index, |
String | language, | ||
String | name | ||
) | [inline] |
index | |
language | |
name |
Definition at line 913 of file PlayerModel.java.
org.xbmc.android.jsonrpc.api.model.PlayerModel.Subtitle.Subtitle | ( | JsonNode | node | ) | [inline] |
Construct from JSON object.
node | JSON object representing a Subtitle object |
Definition at line 923 of file PlayerModel.java.
org.xbmc.android.jsonrpc.api.model.PlayerModel.Subtitle.Subtitle | ( | Parcel | parcel | ) | [inline, protected] |
Construct via parcel.
Definition at line 970 of file PlayerModel.java.
Implements android.os.Parcelable.
Definition at line 991 of file PlayerModel.java.
static List<Subtitle> org.xbmc.android.jsonrpc.api.model.PlayerModel.Subtitle.getPlayerModelSubtitleList | ( | JsonNode | node, |
String | key | ||
) | [inline, static, package] |
Extracts a list of Subtitle 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 943 of file PlayerModel.java.
JsonNode org.xbmc.android.jsonrpc.api.model.PlayerModel.Subtitle.toJsonNode | ( | ) | [inline, virtual] |
Returns a JSON-serialized version of this object.
Implements org.xbmc.android.jsonrpc.api.JsonSerializable.
Definition at line 930 of file PlayerModel.java.
void org.xbmc.android.jsonrpc.api.model.PlayerModel.Subtitle.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 961 of file PlayerModel.java.
final String org.xbmc.android.jsonrpc.api.model.PlayerModel.Subtitle.API_TYPE = "Player.Subtitle" [static] |
Definition at line 896 of file PlayerModel.java.
final Parcelable.Creator<Subtitle> org.xbmc.android.jsonrpc.api.model.PlayerModel.Subtitle.CREATOR [static] |
new Parcelable.Creator<Subtitle>() { @Override public Subtitle createFromParcel(Parcel parcel) { return new Subtitle(parcel); } @Override public Subtitle[] newArray(int n) { return new Subtitle[n]; } }
Generates instances of this Parcelable class from a Parcel.
Definition at line 979 of file PlayerModel.java.
final String org.xbmc.android.jsonrpc.api.model.PlayerModel.Subtitle.INDEX = "index" [static] |
Definition at line 899 of file PlayerModel.java.
Definition at line 904 of file PlayerModel.java.
final String org.xbmc.android.jsonrpc.api.model.PlayerModel.Subtitle.LANGUAGE = "language" [static] |
Definition at line 900 of file PlayerModel.java.
Definition at line 905 of file PlayerModel.java.
final String org.xbmc.android.jsonrpc.api.model.PlayerModel.Subtitle.NAME = "name" [static] |
Definition at line 901 of file PlayerModel.java.
Definition at line 906 of file PlayerModel.java.