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

List of all members.

Classes

interface  Type

Public Member Functions

int describeContents ()
 PropertyValue (Integer size, String type)
 PropertyValue (JsonNode node)
JsonNode toJsonNode ()
void writeToParcel (Parcel parcel, int flags)

Public Attributes

final Integer size
final String type

Static Public Attributes

static final String API_TYPE = "Playlist.Property.Value"
static final
Parcelable.Creator
< PropertyValue
CREATOR
static final String SIZE = "size"
static final String TYPE = "type"

Protected Member Functions

 PropertyValue (Parcel parcel)

Static Package Functions

static List< PropertyValuegetPlaylistModelPropertyValueList (JsonNode node, String key)

Detailed Description

API Name: Playlist.Property.Value

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

Definition at line 878 of file PlaylistModel.java.


Constructor & Destructor Documentation

Parameters:
size
typeOne of: unknown, video, audio, picture, mixed. See constants at PlaylistModel.PropertyValue.Type.

Definition at line 893 of file PlaylistModel.java.

Construct from JSON object.

Parameters:
nodeJSON object representing a PropertyValue object

Definition at line 902 of file PlaylistModel.java.

Construct via parcel.

Definition at line 946 of file PlaylistModel.java.


Member Function Documentation

Implements android.os.Parcelable.

Definition at line 966 of file PlaylistModel.java.

static List<PropertyValue> org.xbmc.android.jsonrpc.api.model.PlaylistModel.PropertyValue.getPlaylistModelPropertyValueList ( JsonNode  node,
String  key 
) [inline, static, package]

Extracts a list of PropertyValue 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 920 of file PlaylistModel.java.

Returns a JSON-serialized version of this object.

Returns:
Deserialized Json Node

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

Definition at line 908 of file PlaylistModel.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 938 of file PlaylistModel.java.


Member Data Documentation

final String org.xbmc.android.jsonrpc.api.model.PlaylistModel.PropertyValue.API_TYPE = "Playlist.Property.Value" [static]

Definition at line 879 of file PlaylistModel.java.

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

Generates instances of this Parcelable class from a Parcel.

Definition at line 954 of file PlaylistModel.java.

Definition at line 882 of file PlaylistModel.java.

Definition at line 886 of file PlaylistModel.java.

Definition at line 883 of file PlaylistModel.java.

Definition at line 887 of file PlaylistModel.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