---
title: "allDownloads(for:)"
framework: backgroundassets
role: symbol
role_heading: Instance Method
path: "backgroundassets/assetpackmanifest/alldownloads(for:)"
---

# allDownloads(for:)

Creates download objects for every applicable asset pack in this manifest, which can be scheduled with the download manager.

## Declaration

```swift
func allDownloads(for contentRequest: BAContentRequest?) -> Set<BADownload>
```

## Parameters

- `contentRequest`: The content request for the current extension invocation. Pass nil if when calling this method in your main app.

## Return Value

Return Value A collection of download objects.
