Builder to construct an Indexable for
an alarm.
| String | FRIDAY | |
| String | MONDAY | |
| String | SATURDAY | |
| String | SUNDAY | |
| String | THURSDAY | |
| String | TUESDAY | |
| String | WEDNESDAY |
| AlarmBuilder |
setAlarmInstances(AlarmInstanceBuilder...
alarmInstanceBuilders)
Sets the instances, if any, associated with this alarm.
|
| AlarmBuilder | |
| AlarmBuilder |
setEnabled(boolean enabled)
|
| AlarmBuilder |
setHour(int hour)
Sets the hour that the alarm will fire.
|
| AlarmBuilder | |
| AlarmBuilder | |
| AlarmBuilder |
setMinute(int minute)
Sets the minute that the alarm will fire.
|
| AlarmBuilder |
setRingtone(String ringtone)
Sets the ringtone to be played when the alarm fires, as a content URI of the
media to be played, or
VALUE_RINGTONE_SILENT if no ringtone will be played.
|
| AlarmBuilder |
setVibrate(boolean vibrate)
Sets whether or not to activate the device vibrator when the alarm fires.
|
Sets the instances, if any, associated with this alarm.
Sets the hour that the alarm will fire.
| hour | Must be 0-23, inclusive |
|---|
Sets the immutable unique identifier of the alarm.
Sets the custom message associated with this alarm.
Sets the minute that the alarm will fire.
| minute | Must be 0-59, inclusive |
|---|
Sets the ringtone to be played when the alarm fires, 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 alarm fires.