<!--
{
  "availability" : [
    "iOS: 16.1.0 -",
    "iPadOS: 16.1.0 -",
    "macCatalyst: 16.1.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 18.4.0 -",
    "visionOS: 2.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BackgroundAssets",
  "identifier" : "/documentation/BackgroundAssets/BADownload",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Background Assets"
    ],
    "preciseIdentifier" : "c:objc(cs)BADownload"
  },
  "title" : "BADownload"
}
-->

# BADownload

An object that represents an in-progress or concluded asset download.

```
class BADownload
```

## Overview> Note:
> You don’t create instances of this object directly. Instead, use an object that inherits from ``doc://com.apple.backgroundassets/documentation/BackgroundAssets/BADownload``, such as ``doc://com.apple.backgroundassets/documentation/BackgroundAssets/BAURLDownload``.

## Topics

### Getting the identity

[`identifier`](/documentation/BackgroundAssets/BADownload/identifier)

The app-specific string that uniquely identifies the downloadable asset.

[`uniqueIdentifier`](/documentation/BackgroundAssets/BADownload/uniqueIdentifier)

The system-provided string that uniquely identifies the download object.

### Determining the priority

[`isEssential`](/documentation/BackgroundAssets/BADownload/isEssential)

[`priority`](/documentation/BackgroundAssets/BADownload/priority-swift.property)

The download’s execution priority.

[`Priority`](/documentation/BackgroundAssets/BADownload/Priority-swift.struct)

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

### Getting the current state

[`state`](/documentation/BackgroundAssets/BADownload/state-swift.property)

The current state of the download.

[`State`](/documentation/BackgroundAssets/BADownload/State-swift.enum)

Constants that indicate the state of a download.

### Downloading nonessential assets

[`-  copyAsNonEssential`](/documentation/BackgroundAssets/BADownload/removingEssential())

## Relationships

### Conforms To

[`NSCoding`](/documentation/Foundation/NSCoding)

[`Equatable`](/documentation/Swift/Equatable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`CVarArg`](/documentation/Swift/CVarArg)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`NSCopying`](/documentation/Foundation/NSCopying)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

### Inherited By

[`BAURLDownload`](/documentation/BackgroundAssets/BAURLDownload)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)