{ "methods": { "canScheduleExactAlarms()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "boolean", "exceptions": [], "minSdk": 31, "name": "canScheduleExactAlarms()", "documentation": "Returns the schedule exact alarm state set by {@link #setCanScheduleExactAlarms}. " }, "cancel(android.app.AlarmManager.OnAlarmListener)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "listener" ], "returnType": "void", "exceptions": [], "minSdk": 24, "name": "cancel(android.app.AlarmManager.OnAlarmListener)" }, "cancel(android.app.PendingIntent)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "operation" ], "returnType": "void", "exceptions": [], "name": "cancel(android.app.PendingIntent)" }, "getNextAlarmClock()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "android.app.AlarmManager.AlarmClockInfo", "exceptions": [], "minSdk": 21, "name": "getNextAlarmClock()" }, "getNextScheduledAlarm()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "org.robolectric.shadows.ShadowAlarmManager.ScheduledAlarm", "exceptions": [], "name": "getNextScheduledAlarm()", "documentation": "@return the next scheduled alarm after consuming it\n" }, "getScheduledAlarms()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "java.util.List\u003corg.robolectric.shadows.ShadowAlarmManager.ScheduledAlarm\u003e", "exceptions": [], "name": "getScheduledAlarms()", "documentation": "@return all scheduled alarms\n" }, "internalSet(int,long,android.app.AlarmManager.OnAlarmListener,android.os.Handler)": { "isImplementation": false, "modifiers": [ "private" ], "params": [ "type", "triggerAtTime", "listener", "handler" ], "returnType": "void", "exceptions": [], "name": "internalSet(int,long,android.app.AlarmManager.OnAlarmListener,android.os.Handler)" }, "internalSet(int,long,long,android.app.PendingIntent,android.app.PendingIntent)": { "isImplementation": false, "modifiers": [ "private" ], "params": [ "type", "triggerAtTime", "interval", "operation", "showIntent" ], "returnType": "void", "exceptions": [], "name": "internalSet(int,long,long,android.app.PendingIntent,android.app.PendingIntent)" }, "peekNextScheduledAlarm()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "org.robolectric.shadows.ShadowAlarmManager.ScheduledAlarm", "exceptions": [], "name": "peekNextScheduledAlarm()", "documentation": "@return the most recently scheduled alarm without consuming it\n" }, "reset()": { "isImplementation": false, "modifiers": [ "public", "static" ], "params": [], "returnType": "void", "exceptions": [], "name": "reset()" }, "set(int,long,android.app.PendingIntent)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "type", "triggerAtTime", "operation" ], "returnType": "void", "exceptions": [], "name": "set(int,long,android.app.PendingIntent)" }, "set(int,long,java.lang.String,android.app.AlarmManager.OnAlarmListener,android.os.Handler)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "type", "triggerAtTime", "tag", "listener", "targetHandler" ], "returnType": "void", "exceptions": [], "minSdk": 24, "name": "set(int,long,java.lang.String,android.app.AlarmManager.OnAlarmListener,android.os.Handler)" }, "setAlarmClock(android.app.AlarmManager.AlarmClockInfo,android.app.PendingIntent)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "info", "operation" ], "returnType": "void", "exceptions": [], "minSdk": 21, "name": "setAlarmClock(android.app.AlarmManager.AlarmClockInfo,android.app.PendingIntent)" }, "setAndAllowWhileIdle(int,long,android.app.PendingIntent)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "type", "triggerAtTime", "operation" ], "returnType": "void", "exceptions": [], "minSdk": 23, "name": "setAndAllowWhileIdle(int,long,android.app.PendingIntent)" }, "setCanScheduleExactAlarms(boolean)": { "isImplementation": false, "modifiers": [ "public", "static" ], "params": [ "scheduleExactAlarms" ], "returnType": "void", "exceptions": [], "name": "setCanScheduleExactAlarms(boolean)", "documentation": "Sets the schedule exact alarm state reported by {@link AlarmManager#canScheduleExactAlarms},\nbut has no effect otherwise.\n" }, "setExact(int,long,android.app.PendingIntent)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "type", "triggerAtTime", "operation" ], "returnType": "void", "exceptions": [], "minSdk": 19, "name": "setExact(int,long,android.app.PendingIntent)" }, "setExact(int,long,java.lang.String,android.app.AlarmManager.OnAlarmListener,android.os.Handler)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "type", "triggerAtTime", "tag", "listener", "targetHandler" ], "returnType": "void", "exceptions": [], "minSdk": 24, "name": "setExact(int,long,java.lang.String,android.app.AlarmManager.OnAlarmListener,android.os.Handler)" }, "setExactAndAllowWhileIdle(int,long,android.app.PendingIntent)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "type", "triggerAtTime", "operation" ], "returnType": "void", "exceptions": [], "minSdk": 23, "name": "setExactAndAllowWhileIdle(int,long,android.app.PendingIntent)" }, "setInexactRepeating(int,long,long,android.app.PendingIntent)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "type", "triggerAtMillis", "intervalMillis", "operation" ], "returnType": "void", "exceptions": [], "name": "setInexactRepeating(int,long,long,android.app.PendingIntent)" }, "setRepeating(int,long,long,android.app.PendingIntent)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "type", "triggerAtTime", "interval", "operation" ], "returnType": "void", "exceptions": [], "name": "setRepeating(int,long,long,android.app.PendingIntent)" }, "setTimeZone(java.lang.String)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "timeZone" ], "returnType": "void", "exceptions": [], "name": "setTimeZone(java.lang.String)" }, "setWindow(int,long,long,android.app.PendingIntent)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "type", "windowStartMillis", "windowLengthMillis", "operation" ], "returnType": "void", "exceptions": [], "minSdk": 19, "name": "setWindow(int,long,long,android.app.PendingIntent)" }, "setWindow(int,long,long,java.lang.String,android.app.AlarmManager.OnAlarmListener,android.os.Handler)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "type", "windowStartMillis", "windowLengthMillis", "tag", "listener", "targetHandler" ], "returnType": "void", "exceptions": [], "minSdk": 24, "name": "setWindow(int,long,long,java.lang.String,android.app.AlarmManager.OnAlarmListener,android.os.Handler)" } }, "imports": [ "android.app.AlarmManager.RTC_WAKEUP", "android.os.Build.VERSION_CODES.KITKAT", "android.os.Build.VERSION_CODES.LOLLIPOP", "android.os.Build.VERSION_CODES.M", "android.os.Build.VERSION_CODES.N", "android.os.Build.VERSION_CODES.S", "android.annotation.TargetApi", "android.app.AlarmManager", "android.app.AlarmManager.AlarmClockInfo", "android.app.AlarmManager.OnAlarmListener", "android.app.PendingIntent", "android.content.Intent", "android.os.Handler", "java.util.ArrayList", "java.util.Collections", "java.util.List", "java.util.TimeZone", "org.robolectric.annotation.Implementation", "org.robolectric.annotation.Implements", "org.robolectric.annotation.RealObject", "org.robolectric.annotation.Resetter", "org.robolectric.shadow.api.Shadow", "org.robolectric.shadows.ShadowAlarmManager.ScheduledAlarm" ], "name": "org.robolectric.shadows.ShadowAlarmManager" }