Builder to construct an
for a timer.
|String||EXPIRED||The timer is expired.|
|String||MISSED||The timer is missed.|
|String||PAUSED||The timer is paused.|
|String||RESET||The timer is reset to its initial value.|
|String||STARTED||The timer is started.|
|String||UNKNOWN||The timer is in an unknown error state.|
Public Method Summary
Sets the total length of the timer when it was created, in milliseconds.
Sets the amount of time remaining when the timer was started or stopped, in milliseconds.
Sets whether or not to activate the device vibrator when the timer expires.
Inherited Method Summary
Finalize building the object.
|<S extends IndexableBuilder> T|
public static final String EXPIRED
The timer is expired.
public static final String MISSED
The timer is missed.
public static final String PAUSED
The timer is paused.
public static final String RESET
The timer is reset to its initial value.
public static final String STARTED
The timer is started.
public static final String UNKNOWN
The timer is in an unknown error state.
public TimerBuilder setExpireTime (Calendar wallClockExpirationTime)
Sets the wall clock time at which the timer will, or did, expire.
public TimerBuilder setIdentifier (String identifier)
Sets the immutable unique identifier of the timer.
public TimerBuilder setLength (long lengthInMilliseconds)
Sets the total length of the timer when it was created, in milliseconds