Class WeatherSettings


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

      • PREF_STATION_NAME

        public static final java.lang.String PREF_STATION_NAME
        See Also:
        Constant Field Values
      • PREF_LOCATION_DESCRIPTION

        public static final java.lang.String PREF_LOCATION_DESCRIPTION
        See Also:
        Constant Field Values
      • PREF_DISPLAY_STATION_GEO

        public static final java.lang.String PREF_DISPLAY_STATION_GEO
        See Also:
        Constant Field Values
      • PREF_DISPLAY_TYPE

        public static final java.lang.String PREF_DISPLAY_TYPE
        See Also:
        Constant Field Values
      • PREF_DISPLAY_LAYOUT

        public static final java.lang.String PREF_DISPLAY_LAYOUT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_BAR

        public static final java.lang.String PREF_DISPLAY_BAR
        See Also:
        Constant Field Values
      • PREF_DISPLAY_SIMPLE_BAR

        public static final java.lang.String PREF_DISPLAY_SIMPLE_BAR
        See Also:
        Constant Field Values
      • PREF_DISPLAY_PRESSURE

        public static final java.lang.String PREF_DISPLAY_PRESSURE
        See Also:
        Constant Field Values
      • PREF_DISPLAY_VISIBILITY

        public static final java.lang.String PREF_DISPLAY_VISIBILITY
        See Also:
        Constant Field Values
      • PREF_DISPLAY_SUNRISE

        public static final java.lang.String PREF_DISPLAY_SUNRISE
        See Also:
        Constant Field Values
      • PREF_DISPLAY_ENDOFDAY_BAR

        public static final java.lang.String PREF_DISPLAY_ENDOFDAY_BAR
        See Also:
        Constant Field Values
      • PREF_DISPLAY_GRADIENT

        public static final java.lang.String PREF_DISPLAY_GRADIENT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_WIND_ARC

        public static final java.lang.String PREF_DISPLAY_WIND_ARC
        See Also:
        Constant Field Values
      • PREF_DISPLAY_WIND_ARC_PERIOD

        public static final java.lang.String PREF_DISPLAY_WIND_ARC_PERIOD
        See Also:
        Constant Field Values
      • PREF_DISPLAY_WIND_TYPE

        public static final java.lang.String PREF_DISPLAY_WIND_TYPE
        See Also:
        Constant Field Values
      • PREF_DISPLAY_WIND_UNIT

        public static final java.lang.String PREF_DISPLAY_WIND_UNIT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_DISTANCE_UNIT

        public static final java.lang.String PREF_DISPLAY_DISTANCE_UNIT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_CROP_PRECIPITATIONCHART

        public static final java.lang.String PREF_DISPLAY_CROP_PRECIPITATIONCHART
        See Also:
        Constant Field Values
      • PREF_DISPLAY_OVERVIEWCHART

        public static final java.lang.String PREF_DISPLAY_OVERVIEWCHART
        See Also:
        Constant Field Values
      • PREF_DISPLAY_OVERVIEWCHART_DAYS

        public static final java.lang.String PREF_DISPLAY_OVERVIEWCHART_DAYS
        See Also:
        Constant Field Values
      • PREF_DISPLAY_OVERVIEWCHART_MINMAXUSE

        public static final java.lang.String PREF_DISPLAY_OVERVIEWCHART_MINMAXUSE
        See Also:
        Constant Field Values
      • PREF_DISPLAY_OVERVIEWCHART_MIN

        public static final java.lang.String PREF_DISPLAY_OVERVIEWCHART_MIN
        See Also:
        Constant Field Values
      • PREF_DISPLAY_OVERVIEWCHART_MAX

        public static final java.lang.String PREF_DISPLAY_OVERVIEWCHART_MAX
        See Also:
        Constant Field Values
      • PREF_UPDATEINTERVAL

        public static final java.lang.String PREF_UPDATEINTERVAL
        See Also:
        Constant Field Values
      • PREF_UPDATE_WARNINGS

        public static final java.lang.String PREF_UPDATE_WARNINGS
        See Also:
        Constant Field Values
      • PREF_UPDATE_TEXTFORECASTS

        public static final java.lang.String PREF_UPDATE_TEXTFORECASTS
        See Also:
        Constant Field Values
      • PREF_WIDGET_OPACITY

        public static final java.lang.String PREF_WIDGET_OPACITY
        See Also:
        Constant Field Values
      • PREF_WIDGET_SHOWDWDNOTE

        public static final java.lang.String PREF_WIDGET_SHOWDWDNOTE
        See Also:
        Constant Field Values
      • PREF_WIDGET_DISPLAYWARNINGS

        public static final java.lang.String PREF_WIDGET_DISPLAYWARNINGS
        See Also:
        Constant Field Values
      • PREF_NOTIFY_WARNINGS

        public static final java.lang.String PREF_NOTIFY_WARNINGS
        See Also:
        Constant Field Values
      • PREF_LAST_VERSION_CODE

        public static final java.lang.String PREF_LAST_VERSION_CODE
        See Also:
        Constant Field Values
      • PREF_SERVE_GADGETBRIDGE

        public static final java.lang.String PREF_SERVE_GADGETBRIDGE
        See Also:
        Constant Field Values
      • PREF_VIEWS_LAST_UPDATE_TIME

        public static final java.lang.String PREF_VIEWS_LAST_UPDATE_TIME
        See Also:
        Constant Field Values
      • PREF_GADGETBRIDGE_PACKAGENAME

        public static final java.lang.String PREF_GADGETBRIDGE_PACKAGENAME
        See Also:
        Constant Field Values
      • PREF_GADGETBRIDGE_FAKE_TIMESTAMP

        public static final java.lang.String PREF_GADGETBRIDGE_FAKE_TIMESTAMP
        See Also:
        Constant Field Values
      • PREF_LOG_TO_LOGCAT

        public static final java.lang.String PREF_LOG_TO_LOGCAT
        See Also:
        Constant Field Values
      • PREF_FAVORITESDATA

        public static final java.lang.String PREF_FAVORITESDATA
        See Also:
        Constant Field Values
      • PREF_WARNINGS_CACHETIME

        public static final java.lang.String PREF_WARNINGS_CACHETIME
        See Also:
        Constant Field Values
      • PREF_WARNINGS_DISABLE

        public static final java.lang.String PREF_WARNINGS_DISABLE
        See Also:
        Constant Field Values
      • PREF_WARNINGS_LAST_UPDATE_TIME

        public static final java.lang.String PREF_WARNINGS_LAST_UPDATE_TIME
        See Also:
        Constant Field Values
      • PREF_WARNINGS_NOTIFY_SEVERITY

        public static final java.lang.String PREF_WARNINGS_NOTIFY_SEVERITY
        See Also:
        Constant Field Values
      • PREF_IS_FIRST_APP_LAUNCH

        public static final java.lang.String PREF_IS_FIRST_APP_LAUNCH
        See Also:
        Constant Field Values
      • PREF_DISABLE_TLS

        public static final java.lang.String PREF_DISABLE_TLS
        See Also:
        Constant Field Values
      • PREF_TEXTFORECAST_LAST_UPDATE_TIME

        public static final java.lang.String PREF_TEXTFORECAST_LAST_UPDATE_TIME
        See Also:
        Constant Field Values
      • PREF_TEXTFORECAST_FILTER

        public static final java.lang.String PREF_TEXTFORECAST_FILTER
        See Also:
        Constant Field Values
      • PREF_RADAR_LASTDATAPOLL

        public static final java.lang.String PREF_RADAR_LASTDATAPOLL
        See Also:
        Constant Field Values
      • PREF_ADMINMAP_SHOW

        public static final java.lang.String PREF_ADMINMAP_SHOW
        See Also:
        Constant Field Values
      • PREF_MAP_DISPLAY_MUNICIPALITIES

        public static final java.lang.String PREF_MAP_DISPLAY_MUNICIPALITIES
        See Also:
        Constant Field Values
      • PREF_MAP_DISPLAY_COUNTIES

        public static final java.lang.String PREF_MAP_DISPLAY_COUNTIES
        See Also:
        Constant Field Values
      • PREF_MAP_DISPLAY_STATES

        public static final java.lang.String PREF_MAP_DISPLAY_STATES
        See Also:
        Constant Field Values
      • PREF_MAP_DISPLAY_SEA_AREAS

        public static final java.lang.String PREF_MAP_DISPLAY_SEA_AREAS
        See Also:
        Constant Field Values
      • PREF_MAP_DISPLAY_COAST_AREAS

        public static final java.lang.String PREF_MAP_DISPLAY_COAST_AREAS
        See Also:
        Constant Field Values
      • PREF_FORCE_NO_MENU_ICONS

        public static final java.lang.String PREF_FORCE_NO_MENU_ICONS
        See Also:
        Constant Field Values
      • PREF_DISPLAY_WIND_IN_RADAR

        public static final java.lang.String PREF_DISPLAY_WIND_IN_RADAR
        See Also:
        Constant Field Values
      • PREF_AREA_DATABASE_READY

        public static final java.lang.String PREF_AREA_DATABASE_READY
        See Also:
        Constant Field Values
      • PREF_AREA_DATABASE_VERSION

        public static final java.lang.String PREF_AREA_DATABASE_VERSION
        See Also:
        Constant Field Values
      • PREF_ALTERNATIVE_ICONS

        public static final java.lang.String PREF_ALTERNATIVE_ICONS
        See Also:
        Constant Field Values
      • PREF_USE_METERED_NETWORKS

        public static final java.lang.String PREF_USE_METERED_NETWORKS
        See Also:
        Constant Field Values
      • PREF_NOTIFICATION_IDENTIFIER

        public static final java.lang.String PREF_NOTIFICATION_IDENTIFIER
        See Also:
        Constant Field Values
      • PREF_CLEARNOTIFICATIONS

        public static final java.lang.String PREF_CLEARNOTIFICATIONS
        See Also:
        Constant Field Values
      • PREF_ASKEDFORLOCATIONPERMISSION

        public static final java.lang.String PREF_ASKEDFORLOCATIONPERMISSION
        See Also:
        Constant Field Values
      • PREF_ROTATIONMODE

        public static final java.lang.String PREF_ROTATIONMODE
        See Also:
        Constant Field Values
      • PREF_STATION_NAME_DEFAULT

        public static final java.lang.String PREF_STATION_NAME_DEFAULT
        See Also:
        Constant Field Values
      • PREF_LOCATION_DESCRIPTION_DEFAULT

        public static final java.lang.String PREF_LOCATION_DESCRIPTION_DEFAULT
        See Also:
        Constant Field Values
      • PREF_LATITUDE_DEFAULT

        public static final double PREF_LATITUDE_DEFAULT
        See Also:
        Constant Field Values
      • PREF_LONGITUDE_DEFAULT

        public static final double PREF_LONGITUDE_DEFAULT
        See Also:
        Constant Field Values
      • PREF_ALTITUDE_DEFAULT

        public static final double PREF_ALTITUDE_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_STATION_GEO_DEFAULT

        public static final boolean PREF_DISPLAY_STATION_GEO_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_TYPE_DEFAULT

        public static final java.lang.String PREF_DISPLAY_TYPE_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_LAYOUT_DEFAULT

        public static final java.lang.String PREF_DISPLAY_LAYOUT_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_BAR_DEFAULT

        public static final boolean PREF_DISPLAY_BAR_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_SIMPLE_BAR_DEFAULT

        public static final boolean PREF_DISPLAY_SIMPLE_BAR_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_PRESSURE_DEFAULT

        public static final boolean PREF_DISPLAY_PRESSURE_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_VISIBILITY_DEFAULT

        public static final boolean PREF_DISPLAY_VISIBILITY_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_SUNRISE_DEFAULT

        public static final boolean PREF_DISPLAY_SUNRISE_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_ENDOFDAY_BAR_DEFAULT

        public static final boolean PREF_DISPLAY_ENDOFDAY_BAR_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_GRADIENT_DEFAULT

        public static final boolean PREF_DISPLAY_GRADIENT_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_WIND_ARC_DEFAULT

        public static final boolean PREF_DISPLAY_WIND_ARC_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_WIND_ARC_PERIOD_DEFAULT

        public static final java.lang.String PREF_DISPLAY_WIND_ARC_PERIOD_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_WIND_TYPE_DEFAULT

        public static final java.lang.String PREF_DISPLAY_WIND_TYPE_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_WIND_UNIT_DEFAULT

        public static final java.lang.String PREF_DISPLAY_WIND_UNIT_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_DISTANCE_UNIT_DEFAULT

        public static final java.lang.String PREF_DISPLAY_DISTANCE_UNIT_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_CROP_PRECIPITATIONCHART_DEFAULT

        public static final boolean PREF_DISPLAY_CROP_PRECIPITATIONCHART_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_OVERVIEWCHART_DEFAULT

        public static final boolean PREF_DISPLAY_OVERVIEWCHART_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_OVERVIEWCHART_DAYS_DEFAULT

        public static final int PREF_DISPLAY_OVERVIEWCHART_DAYS_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_OVERVIEWCHART_MINMAXUSE_DEFAULT

        public static final boolean PREF_DISPLAY_OVERVIEWCHART_MINMAXUSE_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_OVERVIEWCHART_MIN_DEFAULT

        public static final int PREF_DISPLAY_OVERVIEWCHART_MIN_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_OVERVIEWCHART_MAX_DEFAULT

        public static final int PREF_DISPLAY_OVERVIEWCHART_MAX_DEFAULT
        See Also:
        Constant Field Values
      • PREF_SETALARM_DEFAULT

        public static final boolean PREF_SETALARM_DEFAULT
        See Also:
        Constant Field Values
      • PREF_UPDATE_WARNINGS_DEFAULT

        public static final boolean PREF_UPDATE_WARNINGS_DEFAULT
        See Also:
        Constant Field Values
      • PREF_UPDATE_TEXTFORECASTS_DEFAULT

        public static final boolean PREF_UPDATE_TEXTFORECASTS_DEFAULT
        See Also:
        Constant Field Values
      • PREF_UPDATEINTERVAL_DEFAULT

        public static final java.lang.String PREF_UPDATEINTERVAL_DEFAULT
        See Also:
        Constant Field Values
      • PREF_WIDGET_OPACITY_DEFAULT

        public static final java.lang.String PREF_WIDGET_OPACITY_DEFAULT
        See Also:
        Constant Field Values
      • PREF_WIDGET_SHOWDWDNOTE_DEFAULT

        public static final boolean PREF_WIDGET_SHOWDWDNOTE_DEFAULT
        See Also:
        Constant Field Values
      • PREF_WIDGET_DISPLAYWARNINGS_DEFAULT

        public static final boolean PREF_WIDGET_DISPLAYWARNINGS_DEFAULT
        See Also:
        Constant Field Values
      • PREF_NOTIFY_WARNINGS_DEFAULT

        public static final boolean PREF_NOTIFY_WARNINGS_DEFAULT
        See Also:
        Constant Field Values
      • PREF_LAST_VERSION_CODE_DEFAULT

        public static final int PREF_LAST_VERSION_CODE_DEFAULT
        See Also:
        Constant Field Values
      • PREF_SERVE_GADGETBRIDGE_DEFAULT

        public static final boolean PREF_SERVE_GADGETBRIDGE_DEFAULT
        See Also:
        Constant Field Values
      • PREF_VIEWS_LAST_UPDATE_TIME_DEFAULT

        public static final long PREF_VIEWS_LAST_UPDATE_TIME_DEFAULT
        See Also:
        Constant Field Values
      • PREF_GADGETBRIDGE_PACKAGENAME_DEFAULT

        public static final java.lang.String PREF_GADGETBRIDGE_PACKAGENAME_DEFAULT
        See Also:
        Constant Field Values
      • PREF_GADGETBRIDGE_FAKE_TIMESTAMP_DEFAULT

        public static final boolean PREF_GADGETBRIDGE_FAKE_TIMESTAMP_DEFAULT
        See Also:
        Constant Field Values
      • PREF_LOG_TO_LOGCAT_DEFAULT

        public static final boolean PREF_LOG_TO_LOGCAT_DEFAULT
        See Also:
        Constant Field Values
      • PREF_FAVORITESDATA_DEFAULT

        public static final java.lang.String PREF_FAVORITESDATA_DEFAULT
        See Also:
        Constant Field Values
      • PREF_WARNINGS_CACHETIME_DEFAULT

        public static final java.lang.String PREF_WARNINGS_CACHETIME_DEFAULT
        See Also:
        Constant Field Values
      • PREF_WARNINGS_DISABLE_DEFAULT

        public static final boolean PREF_WARNINGS_DISABLE_DEFAULT
        See Also:
        Constant Field Values
      • PREF_WARNINGS_LAST_UPDATE_TIME_DEFAULT

        public static final long PREF_WARNINGS_LAST_UPDATE_TIME_DEFAULT
        See Also:
        Constant Field Values
      • PREF_WARNINGS_NOTIFY_SEVERITY_DEFAULT

        public static final java.lang.String PREF_WARNINGS_NOTIFY_SEVERITY_DEFAULT
        See Also:
        Constant Field Values
      • PREF_IS_FIRST_APP_LAUNCH_DEFAULT

        public static final boolean PREF_IS_FIRST_APP_LAUNCH_DEFAULT
        See Also:
        Constant Field Values
      • PREF_GPSMANUAL_DEFAULT

        public static final boolean PREF_GPSMANUAL_DEFAULT
        See Also:
        Constant Field Values
      • PREF_LASTGPSFIX_DEFAULT

        public static final long PREF_LASTGPSFIX_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISABLE_TLS_DEFAULT

        public static final boolean PREF_DISABLE_TLS_DEFAULT
        See Also:
        Constant Field Values
      • PREF_TEXTFORECAST_LAST_UPDATE_TIME_DEFAULT

        public static final long PREF_TEXTFORECAST_LAST_UPDATE_TIME_DEFAULT
        See Also:
        Constant Field Values
      • PREF_TEXTFORECAST_FILTER_DEFAULT

        public static final boolean PREF_TEXTFORECAST_FILTER_DEFAULT
        See Also:
        Constant Field Values
      • PREF_RADAR_LASTDATAPOLL_DEFAULT

        public static final long PREF_RADAR_LASTDATAPOLL_DEFAULT
        See Also:
        Constant Field Values
      • PREF_RADAR_SHOW_DEFAULT

        public static final boolean PREF_RADAR_SHOW_DEFAULT
        See Also:
        Constant Field Values
      • PREF_ADMINMAP_SHOW_DEFAULT

        public static final boolean PREF_ADMINMAP_SHOW_DEFAULT
        See Also:
        Constant Field Values
      • PREF_MAP_DISPLAY_MUNICIPALITIES_DEFAULT

        public static final boolean PREF_MAP_DISPLAY_MUNICIPALITIES_DEFAULT
        See Also:
        Constant Field Values
      • PREF_MAP_DISPLAY_COUNTIES_DEFAULT

        public static final boolean PREF_MAP_DISPLAY_COUNTIES_DEFAULT
        See Also:
        Constant Field Values
      • PREF_MAP_DISPLAY_STATES_DEFAULT

        public static final boolean PREF_MAP_DISPLAY_STATES_DEFAULT
        See Also:
        Constant Field Values
      • PREF_MAP_DISPLAY_SEA_AREAS_DEFAULT

        public static final boolean PREF_MAP_DISPLAY_SEA_AREAS_DEFAULT
        See Also:
        Constant Field Values
      • PREF_MAP_DISPLAY_COAST_AREAS_DEFAULT

        public static final boolean PREF_MAP_DISPLAY_COAST_AREAS_DEFAULT
        See Also:
        Constant Field Values
      • PREF_FORCE_NO_MENU_ICONS_DEFAULT

        public static final boolean PREF_FORCE_NO_MENU_ICONS_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_WIND_IN_RADAR_DEFAULT

        public static final boolean PREF_DISPLAY_WIND_IN_RADAR_DEFAULT
        See Also:
        Constant Field Values
      • PREF_AREA_DATABASE_READY_DEFAULT

        public static final boolean PREF_AREA_DATABASE_READY_DEFAULT
        See Also:
        Constant Field Values
      • PREF_AREA_DATABASE_VERSION_DEFAULT

        public static final int PREF_AREA_DATABASE_VERSION_DEFAULT
        See Also:
        Constant Field Values
      • PREF_VIEWMODEL_DEFAULT

        public static final java.lang.String PREF_VIEWMODEL_DEFAULT
        See Also:
        Constant Field Values
      • PREF_THEME_DEFAULT

        public static final java.lang.String PREF_THEME_DEFAULT
        See Also:
        Constant Field Values
      • PREF_ALTERNATIVE_ICONS_DEFAULT

        public static final boolean PREF_ALTERNATIVE_ICONS_DEFAULT
        See Also:
        Constant Field Values
      • PREF_USE_METERED_NETWORKS_DEFAULT

        public static final boolean PREF_USE_METERED_NETWORKS_DEFAULT
        See Also:
        Constant Field Values
      • PREF_NOTIFICATION_IDENTIFIER_DEFAULT

        public static final int PREF_NOTIFICATION_IDENTIFIER_DEFAULT
        See Also:
        Constant Field Values
      • PREF_ASKEDFORLOCATIONPERMISSION_DEFAULT

        public static final boolean PREF_ASKEDFORLOCATIONPERMISSION_DEFAULT
        See Also:
        Constant Field Values
      • PREF_ROTATIONMODE_DEFAULT

        public static final java.lang.String PREF_ROTATIONMODE_DEFAULT
        See Also:
        Constant Field Values
      • location_description

        public java.lang.String location_description
      • station_name

        public java.lang.String station_name
      • longitude

        public double longitude
      • latitude

        public double latitude
      • altitude

        public double altitude
      • display_station_geo

        public boolean display_station_geo
      • display_type

        public java.lang.String display_type
      • display_layout

        public java.lang.String display_layout
      • display_bar

        public boolean display_bar
      • display_simple_bar

        public boolean display_simple_bar
      • display_pressure

        public boolean display_pressure
      • display_visibility

        public boolean display_visibility
      • display_sunrise

        public boolean display_sunrise
      • display_endofday_bar

        public boolean display_endofday_bar
      • display_gradient

        public boolean display_gradient
      • display_wind_arc

        public boolean display_wind_arc
      • display_wind_arc_period

        public java.lang.String display_wind_arc_period
      • display_wind_type

        public java.lang.String display_wind_type
      • display_wind_unit

        public java.lang.String display_wind_unit
      • display_distance_unit

        public java.lang.String display_distance_unit
      • cropPrecipitationChart

        public boolean cropPrecipitationChart
      • displayOverviewChart

        public boolean displayOverviewChart
      • displayOverviewChartDays

        public int displayOverviewChartDays
      • displayOverviewChartUseMinMax

        public boolean displayOverviewChartUseMinMax
      • displayOverviewChartMin

        public int displayOverviewChartMin
      • displayOverviewChartMax

        public int displayOverviewChartMax
      • setalarm

        public boolean setalarm
      • updateinterval

        public java.lang.String updateinterval
      • update_warnings

        public boolean update_warnings
      • update_textforecasts

        public boolean update_textforecasts
      • widget_opacity

        public java.lang.String widget_opacity
      • widget_showdwdnote

        public boolean widget_showdwdnote
      • widget_displaywarnings

        public boolean widget_displaywarnings
      • notify_warnings

        public boolean notify_warnings
      • last_version_code

        public int last_version_code
      • serve_gadgetbridge

        public boolean serve_gadgetbridge
      • views_last_update_time

        public long views_last_update_time
      • warnings_last_update_time

        public long warnings_last_update_time
      • notifySeverity

        public java.lang.String notifySeverity
      • gadgetbridge_packagename

        public java.lang.String gadgetbridge_packagename
      • gadgetbridge_fake_timestamp

        public boolean gadgetbridge_fake_timestamp
      • logging

        public boolean logging
      • log_to_logcat

        public boolean log_to_logcat
      • favoritesdata

        public java.lang.String favoritesdata
      • warnings_cache_time

        public java.lang.String warnings_cache_time
      • warnings_disabled

        public boolean warnings_disabled
      • is_first_app_launch

        public boolean is_first_app_launch
      • usegps

        public boolean usegps
      • gpsauto

        public boolean gpsauto
      • gpsmanual

        public boolean gpsmanual
      • lastgpsfix

        public long lastgpsfix
      • disable_tls

        public boolean disable_tls
      • textforecast_last_update_time

        public long textforecast_last_update_time
      • textforecast_filter

        public boolean textforecast_filter
      • radar_lastdatapoll

        public long radar_lastdatapoll
      • radar_show

        public boolean radar_show
      • adminmap_show

        public boolean adminmap_show
      • mapDisplayMunicipalities

        public boolean mapDisplayMunicipalities
      • mapDisplayCounties

        public boolean mapDisplayCounties
      • mapDisplayStates

        public boolean mapDisplayStates
      • mapDisplaySeaAreas

        public boolean mapDisplaySeaAreas
      • mapDisplayCoastAreas

        public boolean mapDisplayCoastAreas
      • forceNoMenuIcons

        public boolean forceNoMenuIcons
      • display_wind_in_radar

        public boolean display_wind_in_radar
      • area_database_ready

        public boolean area_database_ready
      • area_database_version

        public int area_database_version
      • viewModel

        public java.lang.String viewModel
      • theme

        public java.lang.String theme
      • preferAlternativeIcons

        public boolean preferAlternativeIcons
      • useMeteredNetworks

        public boolean useMeteredNetworks
      • notificationIdentifier

        public int notificationIdentifier
      • rotationMode

        public java.lang.String rotationMode
      • sharedPreferences

        public SharedPreferences sharedPreferences
      • TEXTFORECASTS_UPDATE_INTERVAL

        public static final long TEXTFORECASTS_UPDATE_INTERVAL
        See Also:
        Constant Field Values
    • Constructor Detail

      • WeatherSettings

        public WeatherSettings​(Context c)
    • Method Detail

      • readPreferences

        public void readPreferences()
      • savePreferences

        public void savePreferences()
      • commitPreferences

        public void commitPreferences()
      • resetPreferencesToDefault

        public static void resetPreferencesToDefault​(Context context)
      • readPreference

        public java.lang.String readPreference​(java.lang.String p,
                                               java.lang.String d)
      • readPreference

        public java.lang.Boolean readPreference​(java.lang.String p,
                                                java.lang.Boolean d)
      • readPreference

        public int readPreference​(java.lang.String p,
                                  int d)
      • readPreference

        public float readPreference​(java.lang.String p,
                                    float d)
      • readPreference

        public long readPreference​(java.lang.String p,
                                   long d)
      • readPreference

        public double readPreference​(java.lang.String p,
                                     double d)
      • applyPreference

        public void applyPreference​(java.lang.String pref,
                                    java.lang.String value)
      • applyPreference

        public void applyPreference​(java.lang.String pref,
                                    java.lang.Boolean value)
      • applyPreference

        public void applyPreference​(java.lang.String pref,
                                    int value)
      • applyPreference

        public void applyPreference​(java.lang.String pref,
                                    float value)
      • applyPreference

        public void applyPreference​(java.lang.String pref,
                                    long value)
      • applyPreference

        public void applyPreference​(java.lang.String pref,
                                    double value)
      • commitPreference

        public void commitPreference​(java.lang.String pref,
                                     java.lang.String value)
      • commitPreference

        public void commitPreference​(java.lang.String pref,
                                     java.lang.Boolean value)
      • commitPreference

        public void commitPreference​(java.lang.String pref,
                                     int value)
      • commitPreference

        public void commitPreference​(java.lang.String pref,
                                     float value)
      • commitPreference

        public void commitPreference​(java.lang.String pref,
                                     long value)
      • commitPreference

        public void commitPreference​(java.lang.String pref,
                                     double value)
      • resetStationToDefault

        public static void resetStationToDefault​(Context context)
      • updateFavorites

        public static void updateFavorites​(Context context,
                                           java.util.ArrayList<Weather.WeatherLocation> favorites)
      • getFavorites

        public java.util.ArrayList<java.lang.String> getFavorites()
      • getFavoritesWeatherLocations

        public static java.util.ArrayList<Weather.WeatherLocation> getFavoritesWeatherLocations​(Context context)
      • getDisplayType

        public int getDisplayType()
      • setDisplayType

        public static void setDisplayType​(Context context,
                                          java.lang.String s)
      • getDisplayType

        public static int getDisplayType​(Context context)
      • getUpdateForecastRegularly

        public static boolean getUpdateForecastRegularly​(Context context)
      • setUpdateForecastRegularly

        public static void setUpdateForecastRegularly​(Context context,
                                                      boolean b)
      • getForecastUpdateInterval

        public int getForecastUpdateInterval()
      • forecastUpdateIntervalIs6h

        public boolean forecastUpdateIntervalIs6h()
      • getForecastUpdateIntervalInMillis

        public long getForecastUpdateIntervalInMillis()
      • getWarningsUpdateIntervalInMillis

        public static int getWarningsUpdateIntervalInMillis​(Context context)
      • getWarningsLastUpdateTime

        public long getWarningsLastUpdateTime()
      • areWarningsOutdated

        public static boolean areWarningsOutdated​(Context context)
      • areWarningsDisabled

        public static boolean areWarningsDisabled​(Context context)
      • setWarningsLastUpdateTime

        public void setWarningsLastUpdateTime​(long time)
      • setWarningsLastUpdateTime

        public void setWarningsLastUpdateTime()
      • notifyWarnings

        public static boolean notifyWarnings​(Context context)
      • setNotifyWarnings

        public static void setNotifyWarnings​(Context context,
                                             boolean b)
      • displayWarningsInWidget

        public static boolean displayWarningsInWidget​(Context context)
      • setDisplayWarningsInWidget

        public static void setDisplayWarningsInWidget​(Context context,
                                                      boolean b)
      • getWarningsNotifySeverity

        public static int getWarningsNotifySeverity​(Context context)
      • getTextForecastLastUpdateTimeInMillis

        public static long getTextForecastLastUpdateTimeInMillis​(Context context)
      • areTextForecastsOutdated

        public static boolean areTextForecastsOutdated​(Context context)
      • isFirstAppLaunch

        public static boolean isFirstAppLaunch​(Context c)
      • setAppLaunchedFlag

        public static void setAppLaunchedFlag​(Context c)
      • resetAppLaunchedFlag

        public static void resetAppLaunchedFlag​(Context c)
      • setCurrentAppVersionFlag

        public static void setCurrentAppVersionFlag​(Context c)
      • getUseGPSFlag

        public static boolean getUseGPSFlag​(Context c)
      • setUSEGPSFlag

        public static void setUSEGPSFlag​(Context c,
                                         boolean flag)
      • GPSManual

        public static boolean GPSManual​(Context c)
      • GPSAuto

        public static boolean GPSAuto​(Context c)
      • saveGPSfixtime

        public static void saveGPSfixtime​(Context context,
                                          long time)
      • getlastGPSfixtime

        public static long getlastGPSfixtime​(Context context)
      • isGPSFixOutdated

        public static boolean isGPSFixOutdated​(Context context,
                                               long time)
      • isLastGPSFixOutdated

        public static boolean isLastGPSFixOutdated​(Context context)
      • isTLSdisabled

        public static boolean isTLSdisabled​(Context c)
      • setDisableTLS

        public static void setDisableTLS​(Context c,
                                         boolean flag)
      • appReleaseIsUserdebug

        public static boolean appReleaseIsUserdebug()
      • getDisplayLayout

        public int getDisplayLayout()
      • getWindDisplayType

        public static int getWindDisplayType​(java.lang.String s)
      • getWindDisplayType

        public int getWindDisplayType()
      • getWindDisplayUnit

        public static int getWindDisplayUnit​(Context context)
      • getDistanceDisplayUnit

        public int getDistanceDisplayUnit()
      • displayWindArc

        public boolean displayWindArc()
      • getWindArcPeriod

        public static int getWindArcPeriod​(Context context)
      • getDisplayWindArc

        public static boolean getDisplayWindArc​(Context context)
      • setDisplayWindArc

        public static void setDisplayWindArc​(Context context,
                                             boolean b)
      • setLastTextForecastsUpdateTime

        public static void setLastTextForecastsUpdateTime​(Context context,
                                                          long time)
      • getLastTextForecastsUpdateTime

        public static long getLastTextForecastsUpdateTime​(Context context)
      • isTextForecastFilterEnabled

        public static boolean isTextForecastFilterEnabled​(Context context)
      • setTextForecastFilterEnabled

        public static void setTextForecastFilterEnabled​(Context context,
                                                        boolean b)
      • updateWarnings

        public static boolean updateWarnings​(Context context)
      • updateTextForecasts

        public static boolean updateTextForecasts​(Context context)
      • setPrefRadarLastdatapoll

        public static void setPrefRadarLastdatapoll​(Context context,
                                                    long l)
      • getPrefRadarLastdatapoll

        public static long getPrefRadarLastdatapoll​(Context context)
      • isRadarDataOutdated

        public static boolean isRadarDataOutdated​(Context context)
      • showRadarByDefault

        public static boolean showRadarByDefault​(Context context)
      • showAdminMapByDefault

        public static boolean showAdminMapByDefault​(Context context)
      • getDisplayMunicipalities

        public static boolean getDisplayMunicipalities​(Context context)
      • getDisplayCounties

        public static boolean getDisplayCounties​(Context context)
      • getDisplayStates

        public static boolean getDisplayStates​(Context context)
      • getDisplaySeaAreas

        public static boolean getDisplaySeaAreas​(Context context)
      • getDisplayCoastAreas

        public static boolean getDisplayCoastAreas​(Context context)
      • getAreaTypeArray

        public static int[] getAreaTypeArray​(Context context)
      • forceNoMenuIcons

        public static boolean forceNoMenuIcons​(Context context)
      • setForceNoMenuIconsFlag

        public static void setForceNoMenuIconsFlag​(Context context,
                                                   boolean b)
      • getWindDisplayType

        public static int getWindDisplayType​(Context context)
      • displayWindInRadar

        public static boolean displayWindInRadar​(Context context)
      • isAreaDatabaseReady

        public static boolean isAreaDatabaseReady​(Context context)
      • setAreaDatabaseReady

        public static void setAreaDatabaseReady​(Context context)
      • getAreaDatabaseVersion

        public static int getAreaDatabaseVersion​(Context context)
      • setAreaDatabaseVersion

        public static void setAreaDatabaseVersion​(Context context,
                                                  int version)
      • getViewModel

        public static java.lang.String getViewModel​(Context context)
      • setViewModel

        public static void setViewModel​(Context context,
                                        java.lang.String model)
      • preferAlternativeIcons

        public static boolean preferAlternativeIcons​(Context context)
      • setPreferAlternativeIcons

        public static void setPreferAlternativeIcons​(Context context,
                                                     boolean b)
      • getDisplaySunrise

        public static boolean getDisplaySunrise​(Context context)
      • setDisplaySunrise

        public static void setDisplaySunrise​(Context context,
                                             boolean b)
      • getWarningsUpdateIntervalMenuPosition

        public static int getWarningsUpdateIntervalMenuPosition​(Context context)
      • setWarningsUpdateInterval

        public static void setWarningsUpdateInterval​(Context context,
                                                     java.lang.String s)
      • getThemePreference

        public static java.lang.String getThemePreference​(Context context)
      • setThemePreference

        public static void setThemePreference​(Context context,
                                              java.lang.String theme)
      • useMeteredNetworks

        public static boolean useMeteredNetworks​(Context context)
      • getUniqueNotificationIdentifier

        public static int getUniqueNotificationIdentifier​(Context context)
      • fixUniqueNotificationIdentifier

        public static void fixUniqueNotificationIdentifier​(Context context)
      • cropPrecipitationChart

        public static boolean cropPrecipitationChart​(Context context)
      • displayOverviewChart

        public static boolean displayOverviewChart​(Context context)
      • setDisplayOverviewChart

        public static void setDisplayOverviewChart​(Context context,
                                                   boolean value)
      • getDisplayOverviewChartDays

        public static int getDisplayOverviewChartDays​(Context context)
      • setDisplayOverviewChartDays

        public static void setDisplayOverviewChartDays​(Context context,
                                                       int value)
      • setAskedLocationFlag

        public static void setAskedLocationFlag​(Context context)
      • askedForLocationPermission

        public static boolean askedForLocationPermission​(Context context)
      • getRotationmode

        public static java.lang.String getRotationmode​(Context context)
      • getDeviceRotationString

        public static java.lang.String getDeviceRotationString​(Context context)
      • setRotationMode

        public static void setRotationMode​(Activity activity)
      • loggingEnabled

        public static boolean loggingEnabled​(Context context)
      • loggingToLogcatEnabled

        public static boolean loggingToLogcatEnabled​(Context context)
      • useOverviewChartMinMax

        public static boolean useOverviewChartMinMax​(Context context)
      • getOverviewChartMin

        public static int getOverviewChartMin​(Context context)
      • getOverviewChartMax

        public static int getOverviewChartMax​(Context context)