Class Pollutant

java.lang.Object
com.azure.maps.weather.models.Pollutant

public final class Pollutant extends Object
Detailed information about an individual pollutant. Not returned if `pollutants`=false.
  • Method Details

    • getType

      public PollutantType getType()
      Get the type property: Type of pollutant. Please note that more may be added at any time.
      Returns:
      the type value.
    • getName

      public String getName()
      Get the name property: The name of the pollutant in English.
      Returns:
      the name value.
    • getIndex

      public Float getIndex()
      Get the index property: Air quality rating on a scale set by local regulating bodies. Scales can vary widely based on location. See [Wikipedia](https://en.wikipedia.org/wiki/Air_quality_index) for more information.
      Returns:
      the index value.
    • getGlobalIndex

      public Float getGlobalIndex()
      Get the globalIndex property: Internationally normalized air quality rating on a scale from 0 to 300 and up, with higher numbers representing worse air quality.
      Returns:
      the globalIndex value.
    • getConcentration

      public WeatherUnitDetails getConcentration()
      Get the concentration property: An object containing the number of pollutant particles per volume of air.
      Returns:
      the concentration value.