Contents

timeInDaylight

A quantity sample type that measures amount of time the user spent in daylight.

Declaration

static let timeInDaylight: HKQuantityTypeIdentifier

Discussion

These samples use time units (described in HKUnit) and measure cumulative values (described in HKQuantityAggregationStyle).

See Also

UV exposure