One Logo Pool Ball
WeatherKit · IOS API REFERENCE

MinuteWeather

struct · iOS 16.0+ · SDK 27.1

struct MinuteWeather

A structure that represents the next hour minute forecasts.

Members (8)

get · iOS 16.0+

precipitation

TypeScript
get precipitation(): Precipitation
Swift declaration
var precipitation: Precipitation

A description of the precipitation for this minute.

set · iOS 16.0+

precipitation

TypeScript
set precipitation(value: Precipitation)
Swift declaration
var precipitation: Precipitation

A description of the precipitation for this minute.

get · iOS 16.0+

precipitationChance

TypeScript
get precipitationChance(): number
Swift declaration
var precipitationChance: Double

The probability of precipitation in this minute. The value is from `0` (no chance of precipitation) to `1` (100% chance of precipitation).

set · iOS 16.0+

precipitationChance

TypeScript
set precipitationChance(value: number)
Swift declaration
var precipitationChance: Double

The probability of precipitation in this minute. The value is from `0` (no chance of precipitation) to `1` (100% chance of precipitation).

get · iOS 16.0+

precipitationIntensity

TypeScript
get precipitationIntensity(): _Foundation_Measurement<_Foundation_UnitSpeed>
Swift declaration
var precipitationIntensity: Measurement<UnitSpeed>

The forecasted precipitation intensity.

set · iOS 16.0+

precipitationIntensity

TypeScript
set precipitationIntensity(value: _Foundation_Measurement<_Foundation_UnitSpeed>)
Swift declaration
var precipitationIntensity: Measurement<UnitSpeed>

The forecasted precipitation intensity.

get · iOS 16.0+

date

TypeScript
get date(): globalThis.Date
Swift declaration
var date: Date

The start time of the minute weather.

set · iOS 16.0+

date

TypeScript
set date(value: globalThis.Date)
Swift declaration
var date: Date

The start time of the minute weather.

Skipped declarations

No declarations were skipped in this snapshot.

All WeatherKit types →