---
title: category
framework: deviceactivity
role: symbol
role_heading: Instance Property
path: deviceactivity/deviceactivitydata/categoryactivity/category
---

# category

Access the category of the activity.

## Declaration

```swift
var category: ActivityCategory
```

## Discussion

Discussion Your device activity report extension can access the category’s localizedDisplayName.
