One Logo Pool Ball
WeatherKit · IOS API REFERENCE

MonthPrecipitationStatistics

struct · iOS 18.0+ · SDK 27.1

struct MonthPrecipitationStatistics

A structure that describes precipitation statistics for a specific month.

Members (8)

get · iOS 18.0+

averagePrecipitationProbability

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

The average percentage probability of precipitation (0.0 = 0%, 1.0 = 100%) for the month.

set · iOS 18.0+

averagePrecipitationProbability

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

The average percentage probability of precipitation (0.0 = 0%, 1.0 = 100%) for the month.

get · iOS 18.0+

averagePrecipitationAmount

TypeScript
get averagePrecipitationAmount(): _Foundation_Measurement<_Foundation_UnitLength>
Swift declaration
var averagePrecipitationAmount: Measurement<UnitLength>

The average amount of liquid precipitation for the month.

set · iOS 18.0+

averagePrecipitationAmount

TypeScript
set averagePrecipitationAmount(value: _Foundation_Measurement<_Foundation_UnitLength>)
Swift declaration
var averagePrecipitationAmount: Measurement<UnitLength>

The average amount of liquid precipitation for the month.

get · iOS 18.0+

averageSnowfallAmount

TypeScript
get averageSnowfallAmount(): _Foundation_Measurement<_Foundation_UnitLength>
Swift declaration
var averageSnowfallAmount: Measurement<UnitLength>

The average amount of snowfall as depth of snow crystals for the month.

set · iOS 18.0+

averageSnowfallAmount

TypeScript
set averageSnowfallAmount(value: _Foundation_Measurement<_Foundation_UnitLength>)
Swift declaration
var averageSnowfallAmount: Measurement<UnitLength>

The average amount of snowfall as depth of snow crystals for the month.

get · iOS 18.0+

month

TypeScript
get month(): number
Swift declaration
var month: Int

The month of the year, in UTC. The Gregorian month of the year ranges from 1 (January) to 12 (December).

set · iOS 18.0+

month

TypeScript
set month(value: number)
Swift declaration
var month: Int

The month of the year, in UTC. The Gregorian month of the year ranges from 1 (January) to 12 (December).

Skipped declarations

No declarations were skipped in this snapshot.

All WeatherKit types →