Class AerisMapsDefaultPointParameters


  • public class AerisMapsDefaultPointParameters
    extends Object
    Wrapper class for holding the point data options used to talk to the Aeris API such as from parameters, sort parameters, limit parameters ect.
    • Constructor Detail

      • AerisMapsDefaultPointParameters

        public AerisMapsDefaultPointParameters​(android.content.Context context)
        Initialize with context to pull the resources from the default xml values.
        Parameters:
        context - context to use
    • Method Detail

      • setWarningParameters

        public void setWarningParameters​(String sort,
                                         int limit,
                                         String query,
                                         String from)
        Set the warning parameters programmatically. This will override the defaults.
        Parameters:
        sort - sort parameters to use. Can be null.
        limit - limit parameter to use. Cannot be null.
        query - query parameter to use. Can be null.
        from - from parameter to use. Can be null.
      • setLightningParameters

        public void setLightningParameters​(String sort,
                                           int limit,
                                           String query,
                                           String from)
        Set the Lightning parameters programmatically. This will override the defaults.
        Parameters:
        sort - sort parameters to use. Can be null.
        limit - limit parameter to use. Cannot be null.
        query - query parameter to use. Can be null.
        from - from parameter to use. Can be null.
      • setStormCellParameters

        public void setStormCellParameters​(String sort,
                                           int limit,
                                           String query,
                                           String from)
        Set the StormCells parameters programmatically. This will override the defaults.
        Parameters:
        sort - sort parameters to use. Can be null.
        limit - limit parameter to use. Cannot be null.
        query - query parameter to use. Can be null.
        from - from parameter to use. Can be null.
      • setStormReportsParameters

        public void setStormReportsParameters​(String sort,
                                              int limit,
                                              String query,
                                              String from)
        Set the Storm reports parameters programmatically. This will override the defaults.
        Parameters:
        sort - sort parameters to use. Can be null.
        limit - limit parameter to use. Cannot be null.
        query - query parameter to use. Can be null.
        from - from parameter to use. Can be null.
      • setFiresParameters

        public void setFiresParameters​(String sort,
                                       int limit,
                                       String query,
                                       String from)
        Set the fires parameters programmatically. This will override the defaults.
        Parameters:
        sort - sort parameters to use. Can be null.
        limit - limit parameter to use. Cannot be null.
        query - query parameter to use. Can be null.
        from - from parameter to use. Can be null.
      • setEarthquakesParameters

        public void setEarthquakesParameters​(String sort,
                                             int limit,
                                             String query,
                                             String from)
        Set the earthquakes parameters programmatically. This will override the defaults.
        Parameters:
        sort - sort parameters to use. Can be null.
        limit - limit parameter to use. Cannot be null.
        query - query parameter to use. Can be null.
        from - from parameter to use. Can be null.
      • setRecordsParameters

        public void setRecordsParameters​(String sort,
                                         int limit,
                                         String query,
                                         String from)
        Set the Records parameters programmatically. This will override the defaults.
        Parameters:
        sort - sort parameters to use. Can be null.
        limit - limit parameter to use. Cannot be null.
        query - query parameter to use. Can be null.
        from - from parameter to use. Can be null.
      • setTropicalParameters

        public void setTropicalParameters​(String sort,
                                          int limit,
                                          String query,
                                          String from)
        Set the Tropical Cyclones parameters programmatically. This will override the defaults.
        Parameters:
        sort - sort parameters to use. Can be null.
        limit - limit parameter to use. Cannot be null.
        query - query parameter to use. Can be null.
        from - from parameter to use. Can be null.
      • setTropicalArchiveParameters

        public void setTropicalArchiveParameters​(String sort,
                                                 int limit,
                                                 String query,
                                                 String from)
      • setAirQualityParameters

        public void setAirQualityParameters​(String sort,
                                            int limit,
                                            String query,
                                            String from)
      • isDebugEnabled

        public boolean isDebugEnabled()
        Checks whether or not debug is enabled.
        Returns:
        the debugEnabled
      • setDebugEnabled

        public void setDebugEnabled​(boolean debugEnabled)
        Set whether the debug is enabled.
        Parameters:
        debugEnabled - the debugEnabled to set