---
title: "download(for:)"
framework: backgroundassets
role: symbol
role_heading: Instance Method
path: "backgroundassets/assetpack/download(for:)"
---

# download(for:)

Creates a download object for the asset pack that you schedule using a download manager.

## Declaration

```swift
func download(for contentRequest: BAContentRequest?) -> BADownload
```

## Parameters

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

## Return Value

Return Value A download object.

## See Also

### Downloading assets

- [downloadSize](backgroundassets/assetpack/downloadsize.md)
