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

List of all members.

Public Member Functions

int describeContents ()
 Subtitle (String language)
 Subtitle (JsonNode node)
JsonNode toJsonNode ()
void writeToParcel (Parcel parcel, int flags)

Public Attributes

final String language

Static Public Attributes

static final
Parcelable.Creator< Subtitle
CREATOR
static final String LANGUAGE = "language"

Protected Member Functions

 Subtitle (Parcel parcel)

Static Package Functions

static List< SubtitlegetVideoModelSubtitleList (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 2070 of file VideoModel.java.


Constructor & Destructor Documentation

Parameters:
language

Definition at line 2081 of file VideoModel.java.

Construct from JSON object.

Parameters:
nodeJSON object representing a Subtitle object

Definition at line 2089 of file VideoModel.java.

Construct via parcel.

Definition at line 2130 of file VideoModel.java.


Member Function Documentation

Implements android.os.Parcelable.

Definition at line 2149 of file VideoModel.java.

static List<Subtitle> org.xbmc.android.jsonrpc.api.model.VideoModel.Streams.Subtitle.getVideoModelSubtitleList ( JsonNode  node,
String  key 
) [inline, static, package]

Extracts a list of Subtitle 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 2105 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 2094 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 2123 of file VideoModel.java.


Member Data Documentation

Initial value:
 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 2137 of file VideoModel.java.

Definition at line 2073 of file VideoModel.java.

Definition at line 2076 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