Example usage for Java android.app AlarmManager fields, constructors, methods, implement or subclass
The text is from its open source code.
int | RTC_WAKEUP Alarm time in System#currentTimeMillis System.currentTimeMillis() (wall clock time in UTC), which will wake up the device when it goes off. |
int | RTC Alarm time in System#currentTimeMillis System.currentTimeMillis() (wall clock time in UTC). |
int | ELAPSED_REALTIME_WAKEUP Alarm time in android.os.SystemClock#elapsedRealtime SystemClock.elapsedRealtime() (time since boot, including sleep), which will wake up the device when it goes off. |
int | ELAPSED_REALTIME Alarm time in android.os.SystemClock#elapsedRealtime SystemClock.elapsedRealtime() (time since boot, including sleep). |
long | INTERVAL_FIFTEEN_MINUTES Available inexact recurrence interval recognized by #setInexactRepeating(int,long,long,PendingIntent) when running on Android prior to API 19. |
long | INTERVAL_HALF_HOUR Available inexact recurrence interval recognized by #setInexactRepeating(int,long,long,PendingIntent) when running on Android prior to API 19. |
long | INTERVAL_HOUR Available inexact recurrence interval recognized by #setInexactRepeating(int,long,long,PendingIntent) when running on Android prior to API 19. |
long | INTERVAL_HALF_DAY Available inexact recurrence interval recognized by #setInexactRepeating(int,long,long,PendingIntent) when running on Android prior to API 19. |
long | INTERVAL_DAY Available inexact recurrence interval recognized by #setInexactRepeating(int,long,long,PendingIntent) when running on Android prior to API 19. |
void | cancel(PendingIntent operation) Remove any alarms with a matching Intent . |
void | cancel(OnAlarmListener listener) Remove any alarm scheduled to be delivered to the given OnAlarmListener . |
AlarmClockInfo | getNextAlarmClock() Gets information about the next alarm clock currently scheduled. |
void | set(@AlarmType int type, long triggerAtMillis, PendingIntent operation) Schedule an alarm. |
void | setAlarmClock(AlarmClockInfo info, PendingIntent operation) Schedule an alarm that represents an alarm clock, which will be used to notify the user when it goes off. |
void | setAndAllowWhileIdle(@AlarmType int type, long triggerAtMillis, PendingIntent operation) Like #set(int,long,PendingIntent) , but this alarm will be allowed to execute even when the system is in low-power idle (a.k.a. |
void | setExact(@AlarmType int type, long triggerAtMillis, PendingIntent operation) Schedule an alarm to be delivered precisely at the stated time. |
void | setExactAndAllowWhileIdle(@AlarmType int type, long triggerAtMillis, PendingIntent operation) Like #setExact(int,long,PendingIntent) , but this alarm will be allowed to execute even when the system is in low-power idle modes. |
void | setInexactRepeating(@AlarmType int type, long triggerAtMillis, long intervalMillis, PendingIntent operation) Schedule a repeating alarm that has inexact trigger time requirements; for example, an alarm that repeats every hour, but not necessarily at the top of every hour. |
void | setRepeating(@AlarmType int type, long triggerAtMillis, long intervalMillis, PendingIntent operation) Schedule a repeating alarm. |
void | setTime(long millis) Set the system wall clock time. |
void | setTimeZone(String timeZone) Sets the system's persistent default time zone. |
void | setWindow(@AlarmType int type, long windowStartMillis, long windowLengthMillis, PendingIntent operation) Schedule an alarm to be delivered within a given window of time. |