---
title: beginMonitoring()
framework: browserenginekit
role: symbol
role_heading: Instance Method
path: browserenginekit/bedownloadmonitor-9bwls/beginmonitoring()
---

# beginMonitoring()

Informs the system to start monitoring the download.

## Declaration

```swift
@objc(beginMonitoring:) func beginMonitoring() async throws -> BEDownloadMonitor.Location?
```

## Mentioned in

Downloading files in a web browser with an alternative browser engine

## Return Value

Return Value If you called useDownloadsFolder(placeholderType:finalFileCreatedHandler:), this method returns the placeholder location that the system creates to host the downloaded content; otherwise, it returns nil.

## See Also

### Reporting progress to the system

- [resumeMonitoring(placeholderURL:)](browserenginekit/bedownloadmonitor-9bwls/resumemonitoring(placeholderurl:).md)
