---
title: DispatchQoS.QoSClass.utility
framework: dispatch
role: symbol
role_heading: Case
path: dispatch/dispatchqos/qosclass-swift.enum/utility
---

# DispatchQoS.QoSClass.utility

The quality-of-service class for tasks that the user does not track actively.

## Declaration

```swift
case utility
```

## Discussion

Discussion Utility tasks have a lower priority than default, user-initiated, and user-interactive tasks, but a higher priority than background tasks. Assign this quality-of-service class to tasks that do not prevent the user from continuing to use your app. For example, you might assign this class to long-running tasks whose progress the user does not follow actively.

## See Also

### Getting the Quality-of-Service Class

- [DispatchQoS.QoSClass.userInteractive](dispatch/dispatchqos/qosclass-swift.enum/userinteractive.md)
- [DispatchQoS.QoSClass.userInitiated](dispatch/dispatchqos/qosclass-swift.enum/userinitiated.md)
- [DispatchQoS.QoSClass.default](dispatch/dispatchqos/qosclass-swift.enum/default.md)
- [DispatchQoS.QoSClass.background](dispatch/dispatchqos/qosclass-swift.enum/background.md)
- [DispatchQoS.QoSClass.unspecified](dispatch/dispatchqos/qosclass-swift.enum/unspecified.md)
