Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Static Package Functions
org.xbmc.android.jsonrpc.api.model.GlobalModel.Time Class Reference
Inheritance diagram for org.xbmc.android.jsonrpc.api.model.GlobalModel.Time:
Inheritance graph
[legend]

List of all members.

Public Member Functions

int describeContents ()
long getMilliseconds ()
 Time (Integer hours, Integer milliseconds, Integer minutes, Integer seconds)
 Time (JsonNode node)
JsonNode toJsonNode ()
void writeToParcel (Parcel parcel, int flags)

Public Attributes

final Integer hours
final Integer milliseconds
final Integer minutes
final Integer seconds

Static Public Attributes

static final String API_TYPE = "Global.Time"
static final
Parcelable.Creator< Time
CREATOR
static final String HOURS = "hours"
static final String MILLISECONDS = "milliseconds"
static final String MINUTES = "minutes"
static final String SECONDS = "seconds"

Protected Member Functions

 Time (Parcel parcel)

Static Package Functions

static List< TimegetGlobalModelTimeList (JsonNode node, String key)

Detailed Description

API Name: Global.Time

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

Definition at line 45 of file GlobalModel.java.


Constructor & Destructor Documentation

org.xbmc.android.jsonrpc.api.model.GlobalModel.Time.Time ( Integer  hours,
Integer  milliseconds,
Integer  minutes,
Integer  seconds 
) [inline]
Parameters:
hours
milliseconds
minutes
seconds

Definition at line 66 of file GlobalModel.java.

Construct from JSON object.

Parameters:
nodeJSON object representing a Time object

Definition at line 85 of file GlobalModel.java.

Construct via parcel.

Definition at line 135 of file GlobalModel.java.


Member Function Documentation

Implements android.os.Parcelable.

Definition at line 157 of file GlobalModel.java.

static List<Time> org.xbmc.android.jsonrpc.api.model.GlobalModel.Time.getGlobalModelTimeList ( JsonNode  node,
String  key 
) [inline, static, package]

Extracts a list of Time 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 107 of file GlobalModel.java.

Returns the time in milliseconds

Returns:

Definition at line 77 of file GlobalModel.java.

Returns a JSON-serialized version of this object.

Returns:
Deserialized Json Node

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

Definition at line 93 of file GlobalModel.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 125 of file GlobalModel.java.


Member Data Documentation

final String org.xbmc.android.jsonrpc.api.model.GlobalModel.Time.API_TYPE = "Global.Time" [static]

Definition at line 46 of file GlobalModel.java.

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

Generates instances of this Parcelable class from a Parcel.

Definition at line 145 of file GlobalModel.java.

Definition at line 49 of file GlobalModel.java.

Definition at line 55 of file GlobalModel.java.

Definition at line 50 of file GlobalModel.java.

Definition at line 56 of file GlobalModel.java.

Definition at line 51 of file GlobalModel.java.

Definition at line 57 of file GlobalModel.java.

Definition at line 52 of file GlobalModel.java.

Definition at line 58 of file GlobalModel.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