|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectde.unikassel.android.sdcframework.util.AbstractTimeProviderEvent
public abstract class AbstractTimeProviderEvent
Abstract base class for time provider events
| Field Summary | |
|---|---|
protected long |
ts
The time stamp in UTC. |
static String |
TS
The intent identifier for the time stamp field |
| Constructor Summary | |
|---|---|
AbstractTimeProviderEvent(Intent intent)
Constructor |
|
AbstractTimeProviderEvent(long ts)
Constructor |
|
| Method Summary | |
|---|---|
protected abstract String |
getAction()
Getter for the intent action. |
Intent |
getIntent()
Getter for an intent representation |
long |
getTimeStamp()
Getter for the event time stamp. |
protected abstract void |
putAdditionalExtras(Intent intent)
Method to add extra information for intent creation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface de.unikassel.android.sdcframework.util.facade.TimeProviderEvent |
|---|
isSynced |
| Field Detail |
|---|
public static final String TS
protected final long ts
| Constructor Detail |
|---|
public AbstractTimeProviderEvent(long ts)
ts - the time stamp.public AbstractTimeProviderEvent(Intent intent)
intent - the intent to create from| Method Detail |
|---|
public final Intent getIntent()
BroadcastableEvent
getIntent in interface BroadcastableEventprotected abstract void putAdditionalExtras(Intent intent)
intent - the intent to add extras toprotected abstract String getAction()
public long getTimeStamp()
TimeProviderEvent
getTimeStamp in interface TimeProviderEvent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||