Public Member Functions | |
int | describeContents () |
JsonNode | getResponse () |
ObjectNode | getResult () |
UndefinedResult (JsonNode node) | |
void | writeToParcel (Parcel parcel, int flags) |
Static Public Attributes | |
static final Parcelable.Creator < UndefinedResult > | CREATOR |
Private Member Functions | |
UndefinedResult (Parcel parcel) | |
Private Attributes | |
final JsonNode | mResponse |
Static Private Attributes | |
static final ObjectMapper | OM = new ObjectMapper() |
static final String | TAG = UndefinedResult.class.getSimpleName() |
Some methods return undefined results, this is their response container.
For v3, the methods returning undefined results are:
JSONRPC.Introspect
XBMC.GetInfoBooleans
XBMC.GetInfoLabels
It's up to the application to correctly parse those response types, if necessary.
Definition at line 48 of file UndefinedResult.java.
org.xbmc.android.jsonrpc.api.UndefinedResult.UndefinedResult | ( | JsonNode | node | ) | [inline] |
Class constructor.
node | Root node of the response object. |
Definition at line 59 of file UndefinedResult.java.
org.xbmc.android.jsonrpc.api.UndefinedResult.UndefinedResult | ( | Parcel | parcel | ) | [inline, private] |
Class constructor via parcel
parcel | Root node of the response object. |
Definition at line 94 of file UndefinedResult.java.
int org.xbmc.android.jsonrpc.api.UndefinedResult.describeContents | ( | ) | [inline] |
Implements android.os.Parcelable.
Definition at line 86 of file UndefinedResult.java.
JsonNode org.xbmc.android.jsonrpc.api.UndefinedResult.getResponse | ( | ) | [inline] |
Returns the root response object.
Definition at line 68 of file UndefinedResult.java.
ObjectNode org.xbmc.android.jsonrpc.api.UndefinedResult.getResult | ( | ) | [inline] |
Returns the result
node of the response object.
result
node of the response object. Definition at line 76 of file UndefinedResult.java.
void org.xbmc.android.jsonrpc.api.UndefinedResult.writeToParcel | ( | Parcel | parcel, |
int | flags | ||
) | [inline] |
Implements android.os.Parcelable.
Definition at line 81 of file UndefinedResult.java.
final Parcelable.Creator<UndefinedResult> org.xbmc.android.jsonrpc.api.UndefinedResult.CREATOR [static] |
new Parcelable.Creator<UndefinedResult>() { @Override public UndefinedResult createFromParcel(Parcel parcel) { return new UndefinedResult(parcel); } @Override public UndefinedResult[] newArray(int n) { return new UndefinedResult[n]; } }
Generates instances of this Parcelable class from a Parcel.
Definition at line 110 of file UndefinedResult.java.
final JsonNode org.xbmc.android.jsonrpc.api.UndefinedResult.mResponse [private] |
Definition at line 53 of file UndefinedResult.java.
final ObjectMapper org.xbmc.android.jsonrpc.api.UndefinedResult.OM = new ObjectMapper() [static, private] |
Definition at line 51 of file UndefinedResult.java.
final String org.xbmc.android.jsonrpc.api.UndefinedResult.TAG = UndefinedResult.class.getSimpleName() [static, private] |
Definition at line 50 of file UndefinedResult.java.