Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Static Package Functions
org.xbmc.android.jsonrpc.api.call.JSONRPC.Version.VersionResult Class Reference
Inheritance diagram for org.xbmc.android.jsonrpc.api.call.JSONRPC.Version.VersionResult:
Inheritance graph
[legend]

List of all members.

Public Member Functions

int describeContents ()
int toInt ()
JsonNode toJsonNode ()
String toString ()
 VersionResult (Integer major, Integer minor, Integer patch)
 VersionResult (JsonNode node)
void writeToParcel (Parcel parcel, int flags)

Public Attributes

final Integer major
final Integer minor
final Integer patch

Static Public Attributes

static final
Parcelable.Creator
< VersionResult
CREATOR
static final String MAJOR = "major"
static final String MINOR = "minor"
static final String PATCH = "patch"

Protected Member Functions

 VersionResult (Parcel parcel)

Static Package Functions

static List< VersionResultgetJSONRPCVersionResultList (JsonNode node, String key)

Detailed Description

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

Definition at line 479 of file JSONRPC.java.


Constructor & Destructor Documentation

org.xbmc.android.jsonrpc.api.call.JSONRPC.Version.VersionResult.VersionResult ( Integer  major,
Integer  minor,
Integer  patch 
) [inline]
Parameters:
major
minor
patch

Definition at line 496 of file JSONRPC.java.

Construct from JSON object.

Parameters:
nodeJSON object representing a VersionResult object

Definition at line 522 of file JSONRPC.java.

Construct via parcel.

Definition at line 569 of file JSONRPC.java.


Member Function Documentation

Implements android.os.Parcelable.

Definition at line 590 of file JSONRPC.java.

static List<VersionResult> org.xbmc.android.jsonrpc.api.call.JSONRPC.Version.VersionResult.getJSONRPCVersionResultList ( JsonNode  node,
String  key 
) [inline, static, package]

Extracts a list of VersionResult 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 542 of file JSONRPC.java.

Returns a comparable integer by multiplying and adding the version parts.
Example: 2.19.625 becomes 20190625

Returns:

Definition at line 514 of file JSONRPC.java.

Returns a JSON-serialized version of this object.

Returns:
Deserialized Json Node

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

Definition at line 529 of file JSONRPC.java.

Definition at line 503 of file JSONRPC.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 560 of file JSONRPC.java.


Member Data Documentation

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

Generates instances of this Parcelable class from a Parcel.

Definition at line 578 of file JSONRPC.java.

Definition at line 482 of file JSONRPC.java.

Definition at line 487 of file JSONRPC.java.

Definition at line 483 of file JSONRPC.java.

Definition at line 488 of file JSONRPC.java.

Definition at line 484 of file JSONRPC.java.

Definition at line 489 of file JSONRPC.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:50