---
title: BADownload.Priority
framework: backgroundassets
role: symbol
role_heading: Structure
path: backgroundassets/badownload/priority-swift.struct
---

# BADownload.Priority

A type that determines the execution priority of a scheduled asset download.

## Declaration

```swift
struct Priority
```

## Overview

Overview Use BADownload.Priority to assign an app-specific priority to a download or group of downloads. The system processes downloads with a higher priority before those with a lower priority, no matter what order you schedule them in.

## Topics

### Creating a priority

- [init(_:)](backgroundassets/badownload/priority-swift.struct/init(_:).md)
- [init(rawValue:)](backgroundassets/badownload/priority-swift.struct/init(rawvalue:).md)

### Getting system priorities

- [default](backgroundassets/badownload/priority-swift.struct/default.md)
- [min](backgroundassets/badownload/priority-swift.struct/min.md)
- [max](backgroundassets/badownload/priority-swift.struct/max.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Determining the priority

- [isEssential](backgroundassets/badownload/isessential.md)
- [priority](backgroundassets/badownload/priority-swift.property.md)
