Builder to construct an Indexable 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. |
| TimerBuilder |
setExpireTime(Calendar
wallClockExpirationTime)
Sets the wall clock time at which the timer will, or did, expire.
|
| TimerBuilder | |
| TimerBuilder |
setLength(long lengthInMilliseconds)
Sets the total length of the timer when it was created, in milliseconds.
|
| TimerBuilder | |
| TimerBuilder |
setRemainingTime(long remainingTimeInMilliseconds)
Sets the amount of time remaining when the timer was started or stopped, in
milliseconds.
|
| TimerBuilder |
setRingtone(String ringtone)
Sets the ringtone to be played when the timer expires, as a content URI of the
media to be played, or
VALUE_RINGTONE_SILENT if no ringtone will be played.
|
| TimerBuilder | |
| TimerBuilder |
setVibrate(boolean vibrate)
Sets whether or not to activate the device vibrator when the timer expires.
|
The timer is expired.
The timer is missed.
The timer is paused.
The timer is reset to its initial value.
The timer is started.
The timer is in an unknown error state.
Sets the wall clock time at which the timer will, or did, expire.
Sets the immutable unique identifier of the timer.
Sets the total length of the timer when it was created, in milliseconds.
Sets the custom message associated with this timer.
Sets the amount of time remaining when the timer was started or stopped, in milliseconds.
Sets the ringtone to be played when the timer expires, as a content URI of the media
to be played, or
VALUE_RINGTONE_SILENT if no ringtone will be played.
Sets whether or not to activate the device vibrator when the timer expires.