Public Member Functions | |
AbstractEvent (ObjectNode node) | |
abstract int | getId () |
void | writeToParcel (Parcel parcel, int flags) |
Static Public Member Functions | |
static AbstractEvent | parse (ObjectNode node) |
static int | parseInt (ObjectNode node, String key) |
static String | parseString (ObjectNode node, String key) |
Public Attributes | |
final String | sender |
Protected Member Functions | |
AbstractEvent (Parcel parcel) |
Parent class for all notifications.
Definition at line 34 of file AbstractEvent.java.
org.xbmc.android.jsonrpc.notification.AbstractEvent.AbstractEvent | ( | ObjectNode | node | ) | [inline] |
Definition at line 38 of file AbstractEvent.java.
org.xbmc.android.jsonrpc.notification.AbstractEvent.AbstractEvent | ( | Parcel | parcel | ) | [inline, protected] |
Definition at line 41 of file AbstractEvent.java.
abstract int org.xbmc.android.jsonrpc.notification.AbstractEvent.getId | ( | ) | [pure virtual] |
Implemented in org.xbmc.android.jsonrpc.notification.PlayerEvent.Seek, org.xbmc.android.jsonrpc.notification.PlayerEvent.SpeedChanged, org.xbmc.android.jsonrpc.notification.SystemEvent.LowBattery, org.xbmc.android.jsonrpc.notification.PlayerEvent.Stop, org.xbmc.android.jsonrpc.notification.SystemEvent.Wake, org.xbmc.android.jsonrpc.notification.PlayerEvent.Pause, org.xbmc.android.jsonrpc.notification.SystemEvent.Restart, org.xbmc.android.jsonrpc.notification.PlayerEvent.Play, and org.xbmc.android.jsonrpc.notification.SystemEvent.Quit.
static AbstractEvent org.xbmc.android.jsonrpc.notification.AbstractEvent.parse | ( | ObjectNode | node | ) | [inline, static] |
Parses the notification type and returns an instance.
node | Original notification, as read from API. |
Definition at line 52 of file AbstractEvent.java.
static int org.xbmc.android.jsonrpc.notification.AbstractEvent.parseInt | ( | ObjectNode | node, |
String | key | ||
) | [inline, static] |
Definition at line 78 of file AbstractEvent.java.
static String org.xbmc.android.jsonrpc.notification.AbstractEvent.parseString | ( | ObjectNode | node, |
String | key | ||
) | [inline, static] |
Definition at line 82 of file AbstractEvent.java.
void org.xbmc.android.jsonrpc.notification.AbstractEvent.writeToParcel | ( | Parcel | parcel, |
int | flags | ||
) | [inline] |
Implements android.os.Parcelable.
Reimplemented in org.xbmc.android.jsonrpc.notification.PlayerEvent.Seek, org.xbmc.android.jsonrpc.notification.PlayerEvent.SpeedChanged, org.xbmc.android.jsonrpc.notification.SystemEvent.LowBattery, org.xbmc.android.jsonrpc.notification.PlayerEvent.Stop, org.xbmc.android.jsonrpc.notification.SystemEvent.Wake, org.xbmc.android.jsonrpc.notification.PlayerEvent.Pause, org.xbmc.android.jsonrpc.notification.SystemEvent.Restart, org.xbmc.android.jsonrpc.notification.PlayerEvent.Play, and org.xbmc.android.jsonrpc.notification.SystemEvent.Quit.
Definition at line 87 of file AbstractEvent.java.
Definition at line 36 of file AbstractEvent.java.