Comparable<ShadowAlarmManager.ScheduledAlarm>
public static class ShadowAlarmManager.ScheduledAlarm extends Object implements Comparable<ShadowAlarmManager.ScheduledAlarm>
Modifier and Type | Field | Description |
---|---|---|
Handler |
handler |
|
long |
interval |
|
AlarmManager.OnAlarmListener |
onAlarmListener |
|
PendingIntent |
operation |
|
PendingIntent |
showIntent |
|
long |
triggerAtTime |
|
int |
type |
Constructor | 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 | 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>