Enumeration

HKWeatherCondition

Constants that indicate a type of weather.

Topics

Constants

case none

The weather condition is unknown or irrelevant.

case clear

The weather condition is clear.

case fair

The weather condition is fair.

case partlyCloudy

The weather condition is partly cloudy.

case mostlyCloudy

The weather condition is mostly cloudy.

case cloudy

The weather condition is cloudy.

case foggy

The weather condition is foggy.

case haze

The weather condition is hazy.

case windy

The weather condition is windy.

case blustery

The weather condition is blustery.

case smoky

The weather condition is smoky.

case dust

The weather condition is dust.

case snow

The weather condition is snow.

case hail

The weather condition is hail.

case sleet

The weather condition is sleet.

case freezingDrizzle

The weather condition is freezing drizzle.

case freezingRain

The weather condition is freezing rain.

case mixedRainAndHail

The weather condition is mixed rain and hail.

case mixedRainAndSnow

The weather condition is mixed rain and snow.

case mixedRainAndSleet

The weather condition is mixed rain and sleet.

case mixedSnowAndSleet

The weather condition is mixed snow and sleet.

case drizzle

The weather condition is drizzle.

case scatteredShowers

The weather condition is scattered showers.

case showers

The weather condition is showers.

case thunderstorms

The weather condition is thunderstorms.

case tropicalStorm

The weather condition is tropical storm.

case hurricane

The weather condition is hurricane.

case tornado

The weather condition is tornado.

See Also

Metadata Keys and Values

Metadata Keys

A set of predefined keys for adding metadata to HealthKit objects. Use these keys to facilitate sharing data between apps. You can also create your own custom keys to give HealthKit objects additional app-specific data.

enum HKBodyTemperatureSensorLocation

Constants that indicate where on the body a temperature reading was taken.

enum HKHeartRateSensorLocation

Constants that indicate where on the body the heart rate sensor is located.

enum HKHeartRateMotionContext

Values that indicate the user’s level of activity when the heart rate sample was measured.