de.unikassel.android.sdcframework.util
Class AlarmBuilder
java.lang.Object
de.unikassel.android.sdcframework.util.AlarmBuilder
public class AlarmBuilder
- extends Object
A global builder singkleton to create observable arams.
Field Summary |
private static int |
nextID
The next alarm identifier. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nextID
private static int nextID
- The next alarm identifier.
AlarmBuilder
public AlarmBuilder()
createAlarm
public static ObservableAlarm createAlarm(Object owner,
Context context)
- Observable alarm instance builder method.
- Parameters:
owner
- the alarm ownercontext
- the context
- Returns:
- an unique observable alarm instance, with it's own action.