<!--
{
  "availability" : [
    "iOS: 18.2.0 -",
    "iPadOS: 18.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BrowserEngineKit",
  "identifier" : "/documentation/BrowserEngineKit/BEDownloadMonitor-9bwls/init(sourceURL:destinationURL:observedProgress:liveActivityAccessToken:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "BrowserEngineKit"
    ],
    "preciseIdentifier" : "c:@M@BrowserEngineKit@objc(cs)BEDownloadMonitor(im)initWithSourceURL:destinationURL:observedProgress:liveActivityAccessToken:"
  },
  "title" : "init(sourceURL:destinationURL:observedProgress:liveActivityAccessToken:)"
}
-->

# init(sourceURL:destinationURL:observedProgress:liveActivityAccessToken:)

Initializes a download monitor to report progress for the specified download.

```
@objc(initWithSourceURL:destinationURL:observedProgress:liveActivityAccessToken:) init(sourceURL: URL, destinationURL: URL, observedProgress: Progress, liveActivityAccessToken: Data)
```

## Parameters

`sourceURL`

The location of the resource on the web that someone wants to download.

`destinationURL`

The location of the file to which you save the resource.

`observedProgress`

An object you use to report the download’s progress to the system.

`liveActivityAccessToken`

An opaque token that the system checks to verify that your networking extension can remain active while the download is in progress.

## Discussion

Generate an access token for the download by calling [`createAccessToken()`](/documentation/BrowserEngineKit/BEDownloadMonitor-9bwls/createAccessToken()).

---

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)