IconCode Class
- java.
lang. Object - com.
azure. maps. weather. models. IconCode
- com.
Implements
public final class IconCode
implements ExpandableEnum<Integer>, JsonSerializable<IconCode>
Numeric value representing an image that displays the `iconPhrase`. Please refer to [Weather services in Azure Maps](/azure/azure-maps/weather-services-concepts#weather-icons) for details.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Icon |
CLEAR
Clear. |
|
static final
Icon |
CLOUDY
Cloudy. |
|
static final
Icon |
COLD
Cold. |
|
static final
Icon |
DREARY
Dreary (Overcast). |
|
static final
Icon |
FLURRIES
Flurries. |
|
static final
Icon |
FOG
Fog. |
|
static final
Icon |
FREEZING_RAIN
Freezing Rain. |
|
static final
Icon |
HAZY_MOONLIGHT
Hazy Moonlight. |
|
static final
Icon |
HAZY_SUNSHINE
Hazy Sunshine. |
|
static final
Icon |
HOT
Hot. |
|
static final
Icon |
ICE
Ice. |
|
static final
Icon |
INTERMITTENT_CLOUDS
Intermittent Clouds. |
|
static final
Icon |
INTERMITTENT_CLOUDS_NIGHT
Intermittent Clouds (Night). |
|
static final
Icon |
MOSTLY_CLEAR
Mostly Clear. |
|
static final
Icon |
MOSTLY_CLOUDY
Mostly Cloudy. |
|
static final
Icon |
MOSTLY_CLOUDY_NIGHT
Mostly Cloudy (Night). |
|
static final
Icon |
MOSTLY_CLOUDY_WITH_FLURRIES
Mostly Cloudy with Flurries. |
|
static final
Icon |
MOSTLY_CLOUDY_WITH_FLURRIES_NIGHT
Mostly Cloudy with Flurries (Night). |
|
static final
Icon |
MOSTLY_CLOUDY_WITH_SHOWERS
Mostly Cloudy with Showers. |
|
static final
Icon |
MOSTLY_CLOUDY_WITH_SHOWERS_NIGHT
Mostly Cloudy with Showers (Night). |
|
static final
Icon |
MOSTLY_CLOUDY_WITH_SNOW
Mostly Cloudy with Snow. |
|
static final
Icon |
MOSTLY_CLOUDY_WITH_SNOW_NIGHT
Mostly Cloudy with Snow (Night). |
|
static final
Icon |
MOSTLY_CLOUDY_WITH_THUNDERSTORMS
Mostly Cloudy with Thunderstorms. |
|
static final
Icon |
MOSTLY_CLOUDY_WITH_THUNDERSTORMS_NIGHT
Mostly Cloudy with Thunderstorms (Night). |
|
static final
Icon |
MOSTLY_SUNNY
Mostly Sunny. |
|
static final
Icon |
PARTLY_CLOUDY
Partly Cloudy. |
|
static final
Icon |
PARTLY_CLOUDY_WITH_SHOWERS
Partly Cloudy with Showers. |
|
static final
Icon |
PARTLY_CLOUDY_WITH_THUNDERSTORMS
Partly Cloudy with Thunderstorms. |
|
static final
Icon |
PARTLY_SUNNY
Partly Sunny. |
|
static final
Icon |
PARTLY_SUNNY_WITH_FLURRIES
Partly Sunny with Flurries. |
|
static final
Icon |
PARTLY_SUNNY_WITH_SHOWERS
Partly Sunny with Showers. |
|
static final
Icon |
PARTLY_SUNNY_WITH_THUNDERSTORMS
Partly Sunny with Thunderstorms. |
|
static final
Icon |
RAIN
Rain. |
|
static final
Icon |
RAIN_AND_SNOW
Rain and Snow. |
|
static final
Icon |
SHOWERS
Showers. |
|
static final
Icon |
SLEET
Sleet. |
|
static final
Icon |
SNOW
Snow. |
|
static final
Icon |
SUNNY
Sunny. |
|
static final
Icon |
THUNDERSTORMS
Thunderstorms. |
|
static final
Icon |
WINDY
Windy. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| boolean | equals(Object obj) |
|
static
Icon |
fromJson(JsonReader jsonReader)
Reads an instance of Icon |
|
static
Icon |
fromValue(Integer value)
Creates or finds a Icon |
| Integer |
getValue()
Gets the value of the Icon |
| int | hashCode() |
|
Json |
toJson(JsonWriter jsonWriter) |
| String | toString() |
|
static
Collection<Icon |
values()
Gets known Icon |
Methods inherited from java.lang.Object
Field Details
CLEAR
public static final IconCode CLEAR
Clear.
CLOUDY
public static final IconCode CLOUDY
Cloudy.
COLD
public static final IconCode COLD
Cold.
DREARY
public static final IconCode DREARY
Dreary (Overcast).
FLURRIES
public static final IconCode FLURRIES
Flurries.
FOG
public static final IconCode FOG
Fog.
FREEZING_RAIN
public static final IconCode FREEZING_RAIN
Freezing Rain.
HAZY_MOONLIGHT
public static final IconCode HAZY_MOONLIGHT
Hazy Moonlight.
HAZY_SUNSHINE
public static final IconCode HAZY_SUNSHINE
Hazy Sunshine.
HOT
public static final IconCode HOT
Hot.
ICE
public static final IconCode ICE
Ice.
INTERMITTENT_CLOUDS
public static final IconCode INTERMITTENT_CLOUDS
Intermittent Clouds.
INTERMITTENT_CLOUDS_NIGHT
public static final IconCode INTERMITTENT_CLOUDS_NIGHT
Intermittent Clouds (Night).
MOSTLY_CLEAR
public static final IconCode MOSTLY_CLEAR
Mostly Clear.
MOSTLY_CLOUDY
public static final IconCode MOSTLY_CLOUDY
Mostly Cloudy.
MOSTLY_CLOUDY_NIGHT
public static final IconCode MOSTLY_CLOUDY_NIGHT
Mostly Cloudy (Night).
MOSTLY_CLOUDY_WITH_FLURRIES
public static final IconCode MOSTLY_CLOUDY_WITH_FLURRIES
Mostly Cloudy with Flurries.
MOSTLY_CLOUDY_WITH_FLURRIES_NIGHT
public static final IconCode MOSTLY_CLOUDY_WITH_FLURRIES_NIGHT
Mostly Cloudy with Flurries (Night).
MOSTLY_CLOUDY_WITH_SHOWERS
public static final IconCode MOSTLY_CLOUDY_WITH_SHOWERS
Mostly Cloudy with Showers.
MOSTLY_CLOUDY_WITH_SHOWERS_NIGHT
public static final IconCode MOSTLY_CLOUDY_WITH_SHOWERS_NIGHT
Mostly Cloudy with Showers (Night).
MOSTLY_CLOUDY_WITH_SNOW
public static final IconCode MOSTLY_CLOUDY_WITH_SNOW
Mostly Cloudy with Snow.
MOSTLY_CLOUDY_WITH_SNOW_NIGHT
public static final IconCode MOSTLY_CLOUDY_WITH_SNOW_NIGHT
Mostly Cloudy with Snow (Night).
MOSTLY_CLOUDY_WITH_THUNDERSTORMS
public static final IconCode MOSTLY_CLOUDY_WITH_THUNDERSTORMS
Mostly Cloudy with Thunderstorms.
MOSTLY_CLOUDY_WITH_THUNDERSTORMS_NIGHT
public static final IconCode MOSTLY_CLOUDY_WITH_THUNDERSTORMS_NIGHT
Mostly Cloudy with Thunderstorms (Night).
MOSTLY_SUNNY
public static final IconCode MOSTLY_SUNNY
Mostly Sunny.
PARTLY_CLOUDY
public static final IconCode PARTLY_CLOUDY
Partly Cloudy.
PARTLY_CLOUDY_WITH_SHOWERS
public static final IconCode PARTLY_CLOUDY_WITH_SHOWERS
Partly Cloudy with Showers.
PARTLY_CLOUDY_WITH_THUNDERSTORMS
public static final IconCode PARTLY_CLOUDY_WITH_THUNDERSTORMS
Partly Cloudy with Thunderstorms.
PARTLY_SUNNY
public static final IconCode PARTLY_SUNNY
Partly Sunny.
PARTLY_SUNNY_WITH_FLURRIES
public static final IconCode PARTLY_SUNNY_WITH_FLURRIES
Partly Sunny with Flurries.
PARTLY_SUNNY_WITH_SHOWERS
public static final IconCode PARTLY_SUNNY_WITH_SHOWERS
Partly Sunny with Showers.
PARTLY_SUNNY_WITH_THUNDERSTORMS
public static final IconCode PARTLY_SUNNY_WITH_THUNDERSTORMS
Partly Sunny with Thunderstorms.
RAIN
public static final IconCode RAIN
Rain.
RAIN_AND_SNOW
public static final IconCode RAIN_AND_SNOW
Rain and Snow.
SHOWERS
public static final IconCode SHOWERS
Showers.
SLEET
public static final IconCode SLEET
Sleet.
SNOW
public static final IconCode SNOW
Snow.
SUNNY
public static final IconCode SUNNY
Sunny.
THUNDERSTORMS
public static final IconCode THUNDERSTORMS
Thunderstorms.
WINDY
public static final IconCode WINDY
Windy.
Method Details
equals
public boolean equals(Object obj)
Overrides:
IconCode.equals(Object obj)Parameters:
fromJson
public static IconCode fromJson(JsonReader jsonReader)
Reads an instance of IconCode from the JsonReader.
Parameters:
Returns:
Throws:
fromValue
public static IconCode fromValue(Integer value)
Creates or finds a IconCode.
Parameters:
Returns:
getValue
public Integer getValue()
Gets the value of the IconCode instance.
Returns:
hashCode
public int hashCode()
Overrides:
IconCode.hashCode()toJson
toString
public String toString()
Overrides:
IconCode.toString()values
public static Collection<IconCode> values()
Gets known IconCode values.
Returns: