Class UpdateAlarmManager


  • public class UpdateAlarmManager
    extends java.lang.Object
    • Field Detail

      • NOTIFICATION_ALARM_IDENTIFIER

        public static final int NOTIFICATION_ALARM_IDENTIFIER
        See Also:
        Constant Field Values
      • VIEWS_UPDATE_INTERVAL_DEFAULT

        public static int VIEWS_UPDATE_INTERVAL_DEFAULT
      • VIEWS_UPDATE_INTERVAL

        public static int VIEWS_UPDATE_INTERVAL
      • VIEWS_MAXUPDATETIME_DEFAULT

        public static int VIEWS_MAXUPDATETIME_DEFAULT
      • VIEWS_MAXUPDATETIME

        public static int VIEWS_MAXUPDATETIME
    • Method Detail

      • updateAndSetAlarmsIfAppropriate

        public static boolean updateAndSetAlarmsIfAppropriate​(Context context,
                                                              int update_mode,
                                                              CurrentWeatherInfo weatherCard)
      • updateWarnings

        public static boolean updateWarnings​(Context context,
                                             boolean forceUpdate)
      • updateTexts

        public static boolean updateTexts​(Context context)
      • updateAppViews

        public static void updateAppViews​(Context context)
      • updateWarningsViews

        public static void updateWarningsViews​(Context context)
      • startDataUpdateService

        public static boolean startDataUpdateService​(Context context,
                                                     java.util.ArrayList<java.lang.String> tasks)