Classes | |
interface | Type |
Public Member Functions | |
int | describeContents () |
GetActivePlayersResult (Integer playerid, String type) | |
GetActivePlayersResult (JsonNode node) | |
JsonNode | toJsonNode () |
void | writeToParcel (Parcel parcel, int flags) |
Public Attributes | |
final Integer | playerid |
final String | type |
Static Public Attributes | |
static final Parcelable.Creator < GetActivePlayersResult > | CREATOR |
static final String | PLAYERID = "playerid" |
static final String | TYPE = "type" |
Protected Member Functions | |
GetActivePlayersResult (Parcel parcel) | |
Static Package Functions | |
static List < GetActivePlayersResult > | getPlayerGetActivePlayersResultList (JsonNode node, String key) |
Note: This class is used as result only.
This class was generated automatically from XBMC's JSON-RPC introspect.
Definition at line 117 of file Player.java.
org.xbmc.android.jsonrpc.api.call.Player.GetActivePlayers.GetActivePlayersResult.GetActivePlayersResult | ( | Integer | playerid, |
String | type | ||
) | [inline] |
playerid | |
type | One of: video , audio , picture . See constants at Player.GetActivePlayersResult.Type. |
Definition at line 131 of file Player.java.
org.xbmc.android.jsonrpc.api.call.Player.GetActivePlayers.GetActivePlayersResult.GetActivePlayersResult | ( | JsonNode | node | ) | [inline] |
Construct from JSON object.
node | JSON object representing a GetActivePlayersResult object |
Definition at line 140 of file Player.java.
org.xbmc.android.jsonrpc.api.call.Player.GetActivePlayers.GetActivePlayersResult.GetActivePlayersResult | ( | Parcel | parcel | ) | [inline, protected] |
Construct via parcel.
Definition at line 184 of file Player.java.
int org.xbmc.android.jsonrpc.api.call.Player.GetActivePlayers.GetActivePlayersResult.describeContents | ( | ) | [inline] |
Implements android.os.Parcelable.
Definition at line 204 of file Player.java.
static List<GetActivePlayersResult> org.xbmc.android.jsonrpc.api.call.Player.GetActivePlayers.GetActivePlayersResult.getPlayerGetActivePlayersResultList | ( | JsonNode | node, |
String | key | ||
) | [inline, static, package] |
Extracts a list of GetActivePlayersResult 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 158 of file Player.java.
JsonNode org.xbmc.android.jsonrpc.api.call.Player.GetActivePlayers.GetActivePlayersResult.toJsonNode | ( | ) | [inline, virtual] |
Returns a JSON-serialized version of this object.
Implements org.xbmc.android.jsonrpc.api.JsonSerializable.
Definition at line 146 of file Player.java.
void org.xbmc.android.jsonrpc.api.call.Player.GetActivePlayers.GetActivePlayersResult.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 176 of file Player.java.
final Parcelable.Creator<GetActivePlayersResult> org.xbmc.android.jsonrpc.api.call.Player.GetActivePlayers.GetActivePlayersResult.CREATOR [static] |
new Parcelable.Creator<GetActivePlayersResult>() { @Override public GetActivePlayersResult createFromParcel(Parcel parcel) { return new GetActivePlayersResult(parcel); } @Override public GetActivePlayersResult[] newArray(int n) { return new GetActivePlayersResult[n]; } }
Generates instances of this Parcelable class from a Parcel.
Definition at line 192 of file Player.java.
final String org.xbmc.android.jsonrpc.api.call.Player.GetActivePlayers.GetActivePlayersResult.PLAYERID = "playerid" [static] |
Definition at line 120 of file Player.java.
final Integer org.xbmc.android.jsonrpc.api.call.Player.GetActivePlayers.GetActivePlayersResult.playerid |
Definition at line 124 of file Player.java.
final String org.xbmc.android.jsonrpc.api.call.Player.GetActivePlayers.GetActivePlayersResult.TYPE = "type" [static] |
Definition at line 121 of file Player.java.
Definition at line 125 of file Player.java.