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

List of all members.

Public Member Functions

 Artwork (String banner, String fanart, String poster, String thumb)
 Artwork (JsonNode node)
int describeContents ()
JsonNode toJsonNode ()
void writeToParcel (Parcel parcel, int flags)

Public Attributes

final String banner
final String fanart
final String poster
final String thumb

Static Public Attributes

static final String API_TYPE = "Media.Artwork"
static final String BANNER = "banner"
static final
Parcelable.Creator< Artwork
CREATOR
static final String FANART = "fanart"
static final String POSTER = "poster"
static final String THUMB = "thumb"

Protected Member Functions

 Artwork (Parcel parcel)

Static Package Functions

static List< ArtworkgetMediaModelArtworkList (JsonNode node, String key)

Detailed Description

API Name: Media.Artwork

Note: This class is used as parameter as well as result.
This class was generated automatically from XBMC's JSON-RPC introspect.

Definition at line 40 of file MediaModel.java.


Constructor & Destructor Documentation

org.xbmc.android.jsonrpc.api.model.MediaModel.Artwork.Artwork ( String  banner,
String  fanart,
String  poster,
String  thumb 
) [inline]
Parameters:
banner
fanart
poster
thumb

Definition at line 61 of file MediaModel.java.

Construct from JSON object.

Parameters:
nodeJSON object representing a Artwork object

Definition at line 72 of file MediaModel.java.

Construct via parcel.

Definition at line 122 of file MediaModel.java.


Member Function Documentation

Implements android.os.Parcelable.

Definition at line 144 of file MediaModel.java.

static List<Artwork> org.xbmc.android.jsonrpc.api.model.MediaModel.Artwork.getMediaModelArtworkList ( JsonNode  node,
String  key 
) [inline, static, package]

Extracts a list of Artwork 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 94 of file MediaModel.java.

Returns a JSON-serialized version of this object.

Returns:
Deserialized Json Node

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

Definition at line 80 of file MediaModel.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 112 of file MediaModel.java.


Member Data Documentation

final String org.xbmc.android.jsonrpc.api.model.MediaModel.Artwork.API_TYPE = "Media.Artwork" [static]

Definition at line 41 of file MediaModel.java.

Definition at line 44 of file MediaModel.java.

Definition at line 50 of file MediaModel.java.

Initial value:
 new Parcelable.Creator<Artwork>() {
                        @Override
                        public Artwork createFromParcel(Parcel parcel) {
                                return new Artwork(parcel);
                        }
                        @Override
                        public Artwork[] newArray(int n) {
                                return new Artwork[n];
                        }
                }

Generates instances of this Parcelable class from a Parcel.

Definition at line 132 of file MediaModel.java.

Definition at line 45 of file MediaModel.java.

Definition at line 51 of file MediaModel.java.

Definition at line 46 of file MediaModel.java.

Definition at line 52 of file MediaModel.java.

Definition at line 47 of file MediaModel.java.

Definition at line 53 of file MediaModel.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