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< PropertyValue > | getPlaylistModelPropertyValueList (JsonNode node, String key) |
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.
org.xbmc.android.jsonrpc.api.model.PlaylistModel.PropertyValue.PropertyValue | ( | Integer | size, |
String | type | ||
) | [inline] |
size | |
type | One of: unknown , video , audio , picture , mixed . See constants at PlaylistModel.PropertyValue.Type. |
Definition at line 893 of file PlaylistModel.java.
org.xbmc.android.jsonrpc.api.model.PlaylistModel.PropertyValue.PropertyValue | ( | JsonNode | node | ) | [inline] |
Construct from JSON object.
node | JSON object representing a PropertyValue object |
Definition at line 902 of file PlaylistModel.java.
org.xbmc.android.jsonrpc.api.model.PlaylistModel.PropertyValue.PropertyValue | ( | Parcel | parcel | ) | [inline, protected] |
Construct via parcel.
Definition at line 946 of file PlaylistModel.java.
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.
node | ObjectNode containing the list of objects. |
key | Key pointing to the node where the list is stored. |
Definition at line 920 of file PlaylistModel.java.
JsonNode org.xbmc.android.jsonrpc.api.model.PlaylistModel.PropertyValue.toJsonNode | ( | ) | [inline, virtual] |
Returns a JSON-serialized version of this object.
Implements org.xbmc.android.jsonrpc.api.JsonSerializable.
Definition at line 908 of file PlaylistModel.java.
void org.xbmc.android.jsonrpc.api.model.PlaylistModel.PropertyValue.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 938 of file PlaylistModel.java.
final String org.xbmc.android.jsonrpc.api.model.PlaylistModel.PropertyValue.API_TYPE = "Playlist.Property.Value" [static] |
Definition at line 879 of file PlaylistModel.java.
final Parcelable.Creator<PropertyValue> org.xbmc.android.jsonrpc.api.model.PlaylistModel.PropertyValue.CREATOR [static] |
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.
final String org.xbmc.android.jsonrpc.api.model.PlaylistModel.PropertyValue.SIZE = "size" [static] |
Definition at line 882 of file PlaylistModel.java.
Definition at line 886 of file PlaylistModel.java.
final String org.xbmc.android.jsonrpc.api.model.PlaylistModel.PropertyValue.TYPE = "type" [static] |
Definition at line 883 of file PlaylistModel.java.
Definition at line 887 of file PlaylistModel.java.