Enum AerisPointData

    • Method Detail

      • values

        public static AerisPointData[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AerisPointData c : AerisPointData.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AerisPointData valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getName

        public String getName()
        Description copied from interface: AerisOverlay
        Gets the display friendly name of the overlay
        Specified by:
        getName in interface AerisOverlay
        Returns:
        String representation of the overlay
      • getLegend

        public int getLegend()
        Description copied from interface: AerisOverlay
        Gets the integer drawable of the overlay's map legend. Will be 0 if there is not a legend.
        Specified by:
        getLegend in interface AerisOverlay
        Returns:
        The legend of the overlay
      • getHandler

        public AerisPointHandler getHandler​(AerisMapView mapView)
        Description copied from interface: AerisOverlay
        Gets the proper handler for the AerisRequest being made by the overlay.
        Specified by:
        getHandler in interface AerisOverlay
        Parameters:
        mapView - The mapview Obj to pass the handler results too
        Returns:
        The handler to the request made for loading the overlay.
      • getPointDataFromName

        public static AerisPointData getPointDataFromName​(String name)
        Gets the enum from the string name of it.
        Parameters:
        name - name to check for
        Returns:
        The enum of the name, null otherwise.
      • getStringList

        public static List<String> getStringList​(android.content.Context context)
        Gets a list of the String for displaying in lists. Removes from the list API permissions this client does not have.
        Parameters:
        context - context
        Returns:
        return
      • getRequest

        public com.aerisweather.aeris.communication.AerisRequest getRequest​(com.aerisweather.aeris.communication.parameter.PlaceParameter place,
                                                                            com.aerisweather.aeris.communication.Action action,
                                                                            com.aerisweather.aeris.communication.parameter.LimitParameter limit,
                                                                            com.aerisweather.aeris.communication.parameter.FromParameter from,
                                                                            com.aerisweather.aeris.communication.parameter.SortParameter sort)
        Description copied from interface: AerisOverlay
        Gets the request needed to load the data for the overlay.
        Specified by:
        getRequest in interface AerisOverlay
        Parameters:
        place - place parameter to use
        action - action type to use
        limit - limit parameter to use
        from - default from parameter to use
        sort - default sort parameter to use
        Returns:
        The Aeris Request to load the overlay
      • getRequest

        public com.aerisweather.aeris.communication.AerisRequest getRequest​(com.aerisweather.aeris.communication.Action action,
                                                                            com.aerisweather.aeris.communication.parameter.ParameterBuilder builder,
                                                                            android.content.Context context)
        Description copied from interface: AerisOverlay
        Gets the request needed to load the data for the overlay.
        Specified by:
        getRequest in interface AerisOverlay
        Parameters:
        action - action type to use
        builder - parameters to use
        context - context to use to retrieve default option values
        Returns:
        The request object.
      • getRequest

        public com.aerisweather.aeris.communication.AerisRequest getRequest​(com.aerisweather.aeris.communication.Action action,
                                                                            com.aerisweather.aeris.communication.parameter.ParameterBuilder builder,
                                                                            android.content.Context context,
                                                                            Boolean useDefaultParams)
        Description copied from interface: AerisOverlay
        Gets the request needed to load the data for the overlay.
        Specified by:
        getRequest in interface AerisOverlay
        Parameters:
        action - action type to use
        builder - parameters to use
        context - context to use to retrieve default option values, if needed
        useDefaultParams - flag to determine whether or not to use default parameters
        Returns:
        The request object