---
title: uvExposure
framework: healthkit
role: symbol
role_heading: Type Property
path: healthkit/hkquantitytypeidentifier/uvexposure
---

# uvExposure

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

## Declaration

```swift
static let uvExposure: HKQuantityTypeIdentifier
```

## Discussion

Discussion 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.

## See Also

### Related Documentation

- [HKQuantityTypeIdentifier](healthkit/hkquantitytypeidentifier.md)
- [HKQuantitySample](healthkit/hkquantitysample.md)
- [HKQuantity](healthkit/hkquantity.md)
