uvExposure
A quantity sample type that measures the user’s exposure to UV radiation.
Declaration
static let uvExposure: HKQuantityTypeIdentifierDiscussion
These samples use count units (described in HKUnit) and measure discrete values (described in HKQuantityAggregationStyle). The sample’s value represents the UV index that the user was exposed to during the sample’s duration.