Global Variable

HKQuantityTypeIdentifierUVExposure

A quantity sample type that measures the user’s exposure to UV radiation.

Declaration

const HKQuantityTypeIdentifier HKQuantityTypeIdentifierUVExposure;

Discussion

These samples use count units (described in HKUnit) and measure discrete values (described in HKStatisticsQuery). The sample’s value represents the UV index that the user was exposed to during the sample’s duration.

See Also