Public Member Functions | |
int | describeContents () |
JsonNode | toJsonNode () |
Video (Double aspect, String codec, Integer duration, Integer height, Integer width) | |
Video (JsonNode node) | |
void | writeToParcel (Parcel parcel, int flags) |
Public Attributes | |
final Double | aspect |
final String | codec |
final Integer | duration |
final Integer | height |
final Integer | width |
Static Public Attributes | |
static final String | ASPECT = "aspect" |
static final String | CODEC = "codec" |
static final Parcelable.Creator< Video > | CREATOR |
static final String | DURATION = "duration" |
static final String | HEIGHT = "height" |
static final String | WIDTH = "width" |
Protected Member Functions | |
Video (Parcel parcel) | |
Static Package Functions | |
static List< Video > | getVideoModelVideoList (JsonNode node, String key) |
Note: This class is used as result only.
This class was generated automatically from XBMC's JSON-RPC introspect.
Definition at line 2158 of file VideoModel.java.
org.xbmc.android.jsonrpc.api.model.VideoModel.Streams.Video.Video | ( | Double | aspect, |
String | codec, | ||
Integer | duration, | ||
Integer | height, | ||
Integer | width | ||
) | [inline] |
aspect | |
codec | |
duration | |
height | |
width |
Definition at line 2181 of file VideoModel.java.
org.xbmc.android.jsonrpc.api.model.VideoModel.Streams.Video.Video | ( | JsonNode | node | ) | [inline] |
Construct from JSON object.
node | JSON object representing a Video object |
Definition at line 2193 of file VideoModel.java.
org.xbmc.android.jsonrpc.api.model.VideoModel.Streams.Video.Video | ( | Parcel | parcel | ) | [inline, protected] |
Construct via parcel.
Definition at line 2246 of file VideoModel.java.
Implements android.os.Parcelable.
Definition at line 2269 of file VideoModel.java.
static List<Video> org.xbmc.android.jsonrpc.api.model.VideoModel.Streams.Video.getVideoModelVideoList | ( | JsonNode | node, |
String | key | ||
) | [inline, static, package] |
Extracts a list of Video 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 2217 of file VideoModel.java.
JsonNode org.xbmc.android.jsonrpc.api.model.VideoModel.Streams.Video.toJsonNode | ( | ) | [inline, virtual] |
Returns a JSON-serialized version of this object.
Implements org.xbmc.android.jsonrpc.api.JsonSerializable.
Definition at line 2202 of file VideoModel.java.
void org.xbmc.android.jsonrpc.api.model.VideoModel.Streams.Video.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 2235 of file VideoModel.java.
final String org.xbmc.android.jsonrpc.api.model.VideoModel.Streams.Video.ASPECT = "aspect" [static] |
Definition at line 2161 of file VideoModel.java.
Definition at line 2168 of file VideoModel.java.
final String org.xbmc.android.jsonrpc.api.model.VideoModel.Streams.Video.CODEC = "codec" [static] |
Definition at line 2162 of file VideoModel.java.
Definition at line 2169 of file VideoModel.java.
final Parcelable.Creator<Video> org.xbmc.android.jsonrpc.api.model.VideoModel.Streams.Video.CREATOR [static] |
new Parcelable.Creator<Video>() { @Override public Video createFromParcel(Parcel parcel) { return new Video(parcel); } @Override public Video[] newArray(int n) { return new Video[n]; } }
Generates instances of this Parcelable class from a Parcel.
Definition at line 2257 of file VideoModel.java.
final String org.xbmc.android.jsonrpc.api.model.VideoModel.Streams.Video.DURATION = "duration" [static] |
Definition at line 2163 of file VideoModel.java.
Definition at line 2170 of file VideoModel.java.
final String org.xbmc.android.jsonrpc.api.model.VideoModel.Streams.Video.HEIGHT = "height" [static] |
Definition at line 2164 of file VideoModel.java.
Definition at line 2171 of file VideoModel.java.
final String org.xbmc.android.jsonrpc.api.model.VideoModel.Streams.Video.WIDTH = "width" [static] |
Definition at line 2165 of file VideoModel.java.
Definition at line 2172 of file VideoModel.java.