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

# startForegroundDownload(_:)

Schedules an asset download that executes immediately in the foreground.

## Declaration

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

## Parameters

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

## Discussion

Discussion Use this method to start new asset downloads immediately, or to promote existing, queued downloads that are yet to start. Only use this method in your app; the framework throws an error if you attempt to start a foreground download in your extension.

## See Also

### Managing downloads

- [scheduleDownload(_:)](backgroundassets/badownloadmanager/scheduledownload(_:).md)
- [cancel(_:)](backgroundassets/badownloadmanager/cancel(_:).md)
