Class WeatherSettings.Updates

java.lang.Object
de.kaffeemitkoffein.tinyweatherforecastgermany.WeatherSettings.Updates
Enclosing class:
WeatherSettings

public static class WeatherSettings.Updates extends Object
  • Field Details

  • Constructor Details

    • Updates

      public Updates()
  • Method Details

    • getMillis

      public static long getMillis(int interval)
    • isSyncEnabled

      public static boolean isSyncEnabled(Context context, int category)
    • setSyncEnabled

      public static void setSyncEnabled(Context context, int category, boolean enabled)
    • getSyncInterval

      public static int getSyncInterval(Context context, int category)
    • setSyncInterval

      public static void setSyncInterval(Context context, int category, int interval)
    • getIntervalMillis

      public static long getIntervalMillis(Context context, int category)
    • getSyncAdapterIntervalInMillis

      public static long getSyncAdapterIntervalInMillis(Context context, Weather.WeatherLocation weatherLocation)
    • getSyncAdapterIntervalInSeconds

      public static int getSyncAdapterIntervalInSeconds(Context context, Weather.WeatherLocation weatherLocation)