public static class ShadowAlarmManager.ScheduledAlarm extends java.lang.Object implements java.lang.Comparable<ShadowAlarmManager.ScheduledAlarm>
Container object to hold a PendingIntent and parameters describing when to send it.
Modifier and Type | Field and Description |
---|---|
android.os.Handler |
handler |
long |
interval |
android.app.AlarmManager.OnAlarmListener |
onAlarmListener |
android.app.PendingIntent |
operation |
android.app.PendingIntent |
showIntent |
long |
triggerAtTime |
int |
type |
Constructor and Description |
---|
ScheduledAlarm(int type,
long triggerAtTime,
long interval,
android.app.PendingIntent operation,
android.app.PendingIntent showIntent) |
ScheduledAlarm(int type,
long triggerAtTime,
android.app.PendingIntent operation,
android.app.PendingIntent showIntent) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ShadowAlarmManager.ScheduledAlarm scheduledAlarm) |
android.app.AlarmManager.AlarmClockInfo |
getAlarmClockInfo() |
public final int type
public final long triggerAtTime
public final long interval
public final android.app.PendingIntent operation
public final android.app.PendingIntent showIntent
public final android.app.AlarmManager.OnAlarmListener onAlarmListener
public final android.os.Handler handler
public ScheduledAlarm(int type, long triggerAtTime, android.app.PendingIntent operation, android.app.PendingIntent showIntent)
public ScheduledAlarm(int type, long triggerAtTime, long interval, android.app.PendingIntent operation, android.app.PendingIntent showIntent)
public android.app.AlarmManager.AlarmClockInfo getAlarmClockInfo()
public int compareTo(ShadowAlarmManager.ScheduledAlarm scheduledAlarm)
compareTo
in interface java.lang.Comparable<ShadowAlarmManager.ScheduledAlarm>