メインコンテンツまでスキップ

Weather icons

The Navigation SDK allows you to use predefined set of icons that is a visual representation of WeatherIconCode

You can get the corresponding icon resource id by calling toIconResId():

val iconCode: WeatherIconCode = getIconCode()
@DrawableRes
val iconCodeResId: Int = iconCode.toIconResId()

The table below contains a listing of the icon codes and their built-in icon images

Weather icon codeIcon image
Tornado
TropicalStorm
Hurricane
StrongStorms
Thunderstorms
ScatteredThunderstormsDay
ScatteredThunderstormsNight
WintryMix
RainAndSnow
RainAndSleet
Sleet
FreezingDrizzle
Drizzle
FreezingRain
HeavyRain
Rain
MixedRainAndHail
ScatteredShowersDay
ScatteredShowersNight
Hail
Showers
Breezy
Windy
Flurries
Sandstorm
SnowShowers
DriftingSnow
Snow
ScatteredSnowShowersDay
ScatteredSnowShowersNight
HeavySnow
Blizzard
Foggy
Haze
Smoke
IceCrystals
Cloudy
MostlyCloudyNight
MostlyCloudyDay
PartlyCloudyNight
PartlyCloudyDay
ClearNight
MostlySunny
HotDay
Sunny
MostlyClearNight
IsolatedThunderstormsDay
NotAvailable
この{Type}は役に立ちましたか?