Classes | |
interface | Mode |
interface | Protocol |
Public Member Functions | |
int | describeContents () |
PrepareDownloadResult (String details, String mode, String protocol) | |
PrepareDownloadResult (JsonNode node) | |
JsonNode | toJsonNode () |
void | writeToParcel (Parcel parcel, int flags) |
Public Attributes | |
final String | details |
final String | mode |
final String | protocol |
Static Public Attributes | |
static final Parcelable.Creator < PrepareDownloadResult > | CREATOR |
static final String | DETAILS = "details" |
static final String | MODE = "mode" |
static final String | PROTOCOL = "protocol" |
Protected Member Functions | |
PrepareDownloadResult (Parcel parcel) | |
Static Package Functions | |
static List < PrepareDownloadResult > | getFilesPrepareDownloadResultList (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 440 of file Files.java.
org.xbmc.android.jsonrpc.api.call.Files.PrepareDownload.PrepareDownloadResult.PrepareDownloadResult | ( | String | details, |
String | mode, | ||
String | protocol | ||
) | [inline] |
details | |
mode | One of: redirect , direct . See constants at Files.PrepareDownloadResult.Mode. |
protocol | One of: http . See constants at Files.PrepareDownloadResult.Protocol. |
Definition at line 457 of file Files.java.
org.xbmc.android.jsonrpc.api.call.Files.PrepareDownload.PrepareDownloadResult.PrepareDownloadResult | ( | JsonNode | node | ) | [inline] |
Construct from JSON object.
node | JSON object representing a PrepareDownloadResult object |
Definition at line 467 of file Files.java.
org.xbmc.android.jsonrpc.api.call.Files.PrepareDownload.PrepareDownloadResult.PrepareDownloadResult | ( | Parcel | parcel | ) | [inline, protected] |
Construct via parcel.
Definition at line 514 of file Files.java.
int org.xbmc.android.jsonrpc.api.call.Files.PrepareDownload.PrepareDownloadResult.describeContents | ( | ) | [inline] |
Implements android.os.Parcelable.
Definition at line 535 of file Files.java.
static List<PrepareDownloadResult> org.xbmc.android.jsonrpc.api.call.Files.PrepareDownload.PrepareDownloadResult.getFilesPrepareDownloadResultList | ( | JsonNode | node, |
String | key | ||
) | [inline, static, package] |
Extracts a list of PrepareDownloadResult 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 487 of file Files.java.
JsonNode org.xbmc.android.jsonrpc.api.call.Files.PrepareDownload.PrepareDownloadResult.toJsonNode | ( | ) | [inline, virtual] |
Returns a JSON-serialized version of this object.
Implements org.xbmc.android.jsonrpc.api.JsonSerializable.
Definition at line 474 of file Files.java.
void org.xbmc.android.jsonrpc.api.call.Files.PrepareDownload.PrepareDownloadResult.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 505 of file Files.java.
final Parcelable.Creator<PrepareDownloadResult> org.xbmc.android.jsonrpc.api.call.Files.PrepareDownload.PrepareDownloadResult.CREATOR [static] |
new Parcelable.Creator<PrepareDownloadResult>() { @Override public PrepareDownloadResult createFromParcel(Parcel parcel) { return new PrepareDownloadResult(parcel); } @Override public PrepareDownloadResult[] newArray(int n) { return new PrepareDownloadResult[n]; } }
Generates instances of this Parcelable class from a Parcel.
Definition at line 523 of file Files.java.
final String org.xbmc.android.jsonrpc.api.call.Files.PrepareDownload.PrepareDownloadResult.DETAILS = "details" [static] |
Definition at line 443 of file Files.java.
Definition at line 448 of file Files.java.
final String org.xbmc.android.jsonrpc.api.call.Files.PrepareDownload.PrepareDownloadResult.MODE = "mode" [static] |
Definition at line 444 of file Files.java.
Definition at line 449 of file Files.java.
final String org.xbmc.android.jsonrpc.api.call.Files.PrepareDownload.PrepareDownloadResult.PROTOCOL = "protocol" [static] |
Definition at line 445 of file Files.java.
Definition at line 450 of file Files.java.