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