Class WeatherWarning

  • All Implemented Interfaces:
    java.lang.Comparable<WeatherWarning>

    public class WeatherWarning
    extends java.lang.Object
    implements java.lang.Comparable<WeatherWarning>
    • Constructor Detail

      • WeatherWarning

        public WeatherWarning()
    • Method Detail

      • initPolygons

        public void initPolygons​(Context context)
      • isInPolygonGeo

        public boolean isInPolygonGeo​(float testy,
                                      float testx)
      • getWarningColor

        public int getWarningColor()
      • isUpdate

        public boolean isUpdate()
        Checks if this warning is an update of a previously issued warning.
        Returns:
        true if the warning is an update
      • isSilentUpdate

        public boolean isSilentUpdate()
      • hasReferenceID

        public boolean hasReferenceID​(java.lang.String referenceID)
      • getSeverity

        public int getSeverity()
      • getUnderlineString

        public static java.lang.String getUnderlineString​(java.lang.String source,
                                                          java.lang.String underlineChar)
      • getPlainTextWarning

        public java.lang.String getPlainTextWarning​(Context context,
                                                    boolean includeCredentials)
      • getApplicableExpires

        public long getApplicableExpires()