Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Static Package Functions
org.xbmc.android.jsonrpc.api.model.VideoModel.Streams.Video Class Reference
Inheritance diagram for org.xbmc.android.jsonrpc.api.model.VideoModel.Streams.Video:
Inheritance graph
[legend]

List of all members.

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< VideogetVideoModelVideoList (JsonNode node, String key)

Detailed Description

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.


Constructor & Destructor Documentation

org.xbmc.android.jsonrpc.api.model.VideoModel.Streams.Video.Video ( Double  aspect,
String  codec,
Integer  duration,
Integer  height,
Integer  width 
) [inline]
Parameters:
aspect
codec
duration
height
width

Definition at line 2181 of file VideoModel.java.

Construct from JSON object.

Parameters:
nodeJSON object representing a Video object

Definition at line 2193 of file VideoModel.java.

Construct via parcel.

Definition at line 2246 of file VideoModel.java.


Member Function Documentation

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.

Parameters:
nodeObjectNode containing the list of objects.
keyKey pointing to the node where the list is stored.

Definition at line 2217 of file VideoModel.java.

Returns a JSON-serialized version of this object.

Returns:
Deserialized Json Node

Implements org.xbmc.android.jsonrpc.api.JsonSerializable.

Definition at line 2202 of file VideoModel.java.

Flatten this object into a Parcel.

Parameters:
parcelthe Parcel in which the object should be written.
flagsadditional flags about how the object should be written.

Implements android.os.Parcelable.

Definition at line 2235 of file VideoModel.java.


Member Data Documentation

Definition at line 2161 of file VideoModel.java.

Definition at line 2168 of file VideoModel.java.

Definition at line 2162 of file VideoModel.java.

Definition at line 2169 of file VideoModel.java.

Initial value:
 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.

Definition at line 2163 of file VideoModel.java.

Definition at line 2170 of file VideoModel.java.

Definition at line 2164 of file VideoModel.java.

Definition at line 2171 of file VideoModel.java.

Definition at line 2165 of file VideoModel.java.

Definition at line 2172 of file VideoModel.java.


The documentation for this class was generated from the following file:


smarthome_media_kodi_driver
Author(s): Mickael Gaillard , Erwan Le Huitouze
autogenerated on Thu Jun 6 2019 21:03:51