public class AlarmScheduler
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static AlarmScheduler |
getInstance(Context context)
Singleton pattern
|
void |
startAllAlarms()
Starts all the application's alarms, to be called e.g.
|
void |
startNewReleasesAlarm()
Starts the alarm for the new releases notifications, using the preferences given by the SettingsManager
|
void |
stopNewReleasesAlarm()
Stops the alarm for the new releases notifications
|
void |
updateNewReleasesAlarm()
Updates the alarm for the new releases notifications, using the new preferences given by the SettingsManager
|
public static AlarmScheduler getInstance(Context context)
context
- the activity contextpublic void startNewReleasesAlarm()
public void stopNewReleasesAlarm()
public void updateNewReleasesAlarm()
public void startAllAlarms()