Class IconCode

java.lang.Object
com.azure.core.util.ExpandableStringEnum<IconCode>
com.azure.maps.weather.models.IconCode

public final class IconCode extends com.azure.core.util.ExpandableStringEnum<IconCode>
Numeric value representing an image that displays the `iconPhrase`. Please refer to [Weather Service Concepts](https://aka.ms/AzureMapsWeatherConcepts) for details.
  • Field Details

    • SUNNY

      public static final IconCode SUNNY
      Static value 1 for IconCode.
    • MOSTLY_SUNNY

      public static final IconCode MOSTLY_SUNNY
      Static value 2 for IconCode.
    • PARTLY_SUNNY

      public static final IconCode PARTLY_SUNNY
      Static value 3 for IconCode.
    • INTERMITTENT_CLOUDS

      public static final IconCode INTERMITTENT_CLOUDS
      Static value 4 for IconCode.
    • HAZY_SUNSHINE

      public static final IconCode HAZY_SUNSHINE
      Static value 5 for IconCode.
    • MOSTLY_CLOUDY

      public static final IconCode MOSTLY_CLOUDY
      Static value 6 for IconCode.
    • CLOUDY

      public static final IconCode CLOUDY
      Static value 7 for IconCode.
    • DREARY

      public static final IconCode DREARY
      Static value 8 for IconCode.
    • FOG

      public static final IconCode FOG
      Static value 11 for IconCode.
    • SHOWERS

      public static final IconCode SHOWERS
      Static value 12 for IconCode.
    • MOSTLY_CLOUDY_WITH_SHOWERS

      public static final IconCode MOSTLY_CLOUDY_WITH_SHOWERS
      Static value 13 for IconCode.
    • PARTLY_SUNNY_WITH_SHOWERS

      public static final IconCode PARTLY_SUNNY_WITH_SHOWERS
      Static value 14 for IconCode.
    • THUNDERSTORMS

      public static final IconCode THUNDERSTORMS
      Static value 15 for IconCode.
    • MOSTLY_CLOUDY_WITH_THUNDERSTORMS

      public static final IconCode MOSTLY_CLOUDY_WITH_THUNDERSTORMS
      Static value 16 for IconCode.
    • PARTLY_SUNNY_WITH_THUNDERSTORMS

      public static final IconCode PARTLY_SUNNY_WITH_THUNDERSTORMS
      Static value 17 for IconCode.
    • RAIN

      public static final IconCode RAIN
      Static value 18 for IconCode.
    • FLURRIES

      public static final IconCode FLURRIES
      Static value 19 for IconCode.
    • MOSTLY_CLOUDY_WITH_FLURRIES

      public static final IconCode MOSTLY_CLOUDY_WITH_FLURRIES
      Static value 20 for IconCode.
    • PARTLY_SUNNY_WITH_FLURRIES

      public static final IconCode PARTLY_SUNNY_WITH_FLURRIES
      Static value 21 for IconCode.
    • SNOW

      public static final IconCode SNOW
      Static value 22 for IconCode.
    • MOSTLY_CLOUDY_WITH_SNOW

      public static final IconCode MOSTLY_CLOUDY_WITH_SNOW
      Static value 23 for IconCode.
    • ICE

      public static final IconCode ICE
      Static value 24 for IconCode.
    • SLEET

      public static final IconCode SLEET
      Static value 25 for IconCode.
    • FREEZING_RAIN

      public static final IconCode FREEZING_RAIN
      Static value 26 for IconCode.
    • RAIN_AND_SNOW

      public static final IconCode RAIN_AND_SNOW
      Static value 29 for IconCode.
    • HOT

      public static final IconCode HOT
      Static value 30 for IconCode.
    • COLD

      public static final IconCode COLD
      Static value 31 for IconCode.
    • WINDY

      public static final IconCode WINDY
      Static value 32 for IconCode.
    • CLEAR

      public static final IconCode CLEAR
      Static value 33 for IconCode.
    • MOSTLY_CLEAR

      public static final IconCode MOSTLY_CLEAR
      Static value 34 for IconCode.
    • PARTLY_CLOUDY

      public static final IconCode PARTLY_CLOUDY
      Static value 35 for IconCode.
    • INTERMITTENT_CLOUDS_NIGHT

      public static final IconCode INTERMITTENT_CLOUDS_NIGHT
      Static value 36 for IconCode.
    • HAZY_MOONLIGHT

      public static final IconCode HAZY_MOONLIGHT
      Static value 37 for IconCode.
    • MOSTLY_CLOUDY_NIGHT

      public static final IconCode MOSTLY_CLOUDY_NIGHT
      Static value 38 for IconCode.
    • PARTLY_CLOUDY_WITH_SHOWERS

      public static final IconCode PARTLY_CLOUDY_WITH_SHOWERS
      Static value 39 for IconCode.
    • MOSTLY_CLOUDY_WITH_SHOWERS_NIGHT

      public static final IconCode MOSTLY_CLOUDY_WITH_SHOWERS_NIGHT
      Static value 40 for IconCode.
    • PARTLY_CLOUDY_WITH_THUNDERSTORMS

      public static final IconCode PARTLY_CLOUDY_WITH_THUNDERSTORMS
      Static value 41 for IconCode.
    • MOSTLY_CLOUDY_WITH_THUNDERSTORMS_NIGHT

      public static final IconCode MOSTLY_CLOUDY_WITH_THUNDERSTORMS_NIGHT
      Static value 42 for IconCode.
    • MOSTLY_CLOUDY_WITH_FLURRIES_NIGHT

      public static final IconCode MOSTLY_CLOUDY_WITH_FLURRIES_NIGHT
      Static value 43 for IconCode.
    • MOSTLY_CLOUDY_WITH_SNOW_NIGHT

      public static final IconCode MOSTLY_CLOUDY_WITH_SNOW_NIGHT
      Static value 44 for IconCode.
  • Constructor Details

    • IconCode

      public IconCode()
  • Method Details

    • fromInt

      public static IconCode fromInt(int name)
      Creates or finds a IconCode from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding IconCode.
    • values

      public static Collection<IconCode> values()
      Gets known IconCode values.
      Returns:
      known IconCode values.