---
title: "scheduleDownload(_:)"
framework: backgroundassets
role: symbol
role_heading: Instance Method
path: "backgroundassets/badownloadmanager/scheduledownload(_:)"
---

# scheduleDownload(_:)

Schedules an asset download to execute in the background at a nonspecific time in the future.

## Declaration

```swift
func scheduleDownload(_ download: BADownload) throws
```

## Parameters

- `download`: The object that provides the URL of the asset to download.

## See Also

### Managing downloads

- [startForegroundDownload(_:)](backgroundassets/badownloadmanager/startforegrounddownload(_:).md)
- [cancel(_:)](backgroundassets/badownloadmanager/cancel(_:).md)
