IconCode Class

  • java.lang.Object
    • com.azure.maps.weather.models.IconCode

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 IconCode CLEAR

Clear.

static final IconCode CLOUDY

Cloudy.

static final IconCode COLD

Cold.

static final IconCode DREARY

Dreary (Overcast).

static final IconCode FLURRIES

Flurries.

static final IconCode FOG

Fog.

static final IconCode FREEZING_RAIN

Freezing Rain.

static final IconCode HAZY_MOONLIGHT

Hazy Moonlight.

static final IconCode HAZY_SUNSHINE

Hazy Sunshine.

static final IconCode HOT

Hot.

static final IconCode ICE

Ice.

static final IconCode INTERMITTENT_CLOUDS

Intermittent Clouds.

static final IconCode INTERMITTENT_CLOUDS_NIGHT

Intermittent Clouds (Night).

static final IconCode MOSTLY_CLEAR

Mostly Clear.

static final IconCode MOSTLY_CLOUDY

Mostly Cloudy.

static final IconCode MOSTLY_CLOUDY_NIGHT

Mostly Cloudy (Night).

static final IconCode MOSTLY_CLOUDY_WITH_FLURRIES

Mostly Cloudy with Flurries.

static final IconCode MOSTLY_CLOUDY_WITH_FLURRIES_NIGHT

Mostly Cloudy with Flurries (Night).

static final IconCode MOSTLY_CLOUDY_WITH_SHOWERS

Mostly Cloudy with Showers.

static final IconCode MOSTLY_CLOUDY_WITH_SHOWERS_NIGHT

Mostly Cloudy with Showers (Night).

static final IconCode MOSTLY_CLOUDY_WITH_SNOW

Mostly Cloudy with Snow.

static final IconCode MOSTLY_CLOUDY_WITH_SNOW_NIGHT

Mostly Cloudy with Snow (Night).

static final IconCode MOSTLY_CLOUDY_WITH_THUNDERSTORMS

Mostly Cloudy with Thunderstorms.

static final IconCode MOSTLY_CLOUDY_WITH_THUNDERSTORMS_NIGHT

Mostly Cloudy with Thunderstorms (Night).

static final IconCode MOSTLY_SUNNY

Mostly Sunny.

static final IconCode PARTLY_CLOUDY

Partly Cloudy.

static final IconCode PARTLY_CLOUDY_WITH_SHOWERS

Partly Cloudy with Showers.

static final IconCode PARTLY_CLOUDY_WITH_THUNDERSTORMS

Partly Cloudy with Thunderstorms.

static final IconCode PARTLY_SUNNY

Partly Sunny.

static final IconCode PARTLY_SUNNY_WITH_FLURRIES

Partly Sunny with Flurries.

static final IconCode PARTLY_SUNNY_WITH_SHOWERS

Partly Sunny with Showers.

static final IconCode PARTLY_SUNNY_WITH_THUNDERSTORMS

Partly Sunny with Thunderstorms.

static final IconCode RAIN

Rain.

static final IconCode RAIN_AND_SNOW

Rain and Snow.

static final IconCode SHOWERS

Showers.

static final IconCode SLEET

Sleet.

static final IconCode SNOW

Snow.

static final IconCode SUNNY

Sunny.

static final IconCode THUNDERSTORMS

Thunderstorms.

static final IconCode WINDY

Windy.

Method Summary

Modifier and Type Method and Description
boolean equals(Object obj)
static IconCode fromJson(JsonReader jsonReader)

Reads an instance of IconCode from the JsonReader.

static IconCode fromValue(Integer value)

Creates or finds a IconCode.

Integer getValue()

Gets the value of the IconCode instance.

int hashCode()
JsonWriter toJson(JsonWriter jsonWriter)
String toString()
static Collection<IconCode> values()

Gets known IconCode values.

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:

obj

fromJson

public static IconCode fromJson(JsonReader jsonReader)

Reads an instance of IconCode from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of IconCode if the JsonReader was pointing to an instance of it, or null if the JsonReader was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the IconCode.

fromValue

public static IconCode fromValue(Integer value)

Creates or finds a IconCode.

Parameters:

value - a value to look for.

Returns:

the corresponding IconCode.

getValue

public Integer getValue()

Gets the value of the IconCode instance.

Returns:

the value of the IconCode instance.

hashCode

public int hashCode()

Overrides:

IconCode.hashCode()

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

toString

public String toString()

Overrides:

IconCode.toString()

values

public static Collection<IconCode> values()

Gets known IconCode values.

Returns:

Known IconCode values.

Applies to