---
title: "init(_:)"
framework: backgroundassets
role: symbol
role_heading: Initializer
path: "backgroundassets/badownload/priority-swift.struct/init(_:)"
---

# init(_:)

Creates a priority using the specified integer value.

## Declaration

```swift
init(_ rawValue: Int)
```

## Parameters

- `rawValue`: An integer that represents the desired priority. The system considers a high value more important than a low one. Provide a value that’s in the range doc://com.apple.documentation/documentation/Swift/Int/min to doc://com.apple.documentation/documentation/Swift/Int/max.

## See Also

### Creating a priority

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