---
title: BEDownloadMonitor.Location
framework: browserenginekit
role: symbol
role_heading: Class
path: browserenginekit/bedownloadmonitor-9bwls/location
---

# BEDownloadMonitor.Location

A class that associates a URL with the bookmark you use to access that URL.

## Declaration

```swift
@objc(BEDownloadMonitorLocation) class Location
```

## Overview

Overview Pass the bookmarkData to your browser app to resolve the URL in the app. For information on using XPC to share data between your networking extension and browser app, see Using XPC to communicate with browser extensions. The URL bookmark in a Location isn’t suitable for storing on disk and resolving in subsequent launches of your app. To do this, create your own bookmark using bookmarkData(options:includingResourceValuesForKeys:relativeTo:), passing the withSecurityScope flag.

## Topics

### Getting information about a location

- [url](browserenginekit/bedownloadmonitor-9bwls/location/url.md)
- [bookmarkData](browserenginekit/bedownloadmonitor-9bwls/location/bookmarkdata.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Creating a download placeholder

- [useDownloadsFolder(placeholderType:finalFileCreatedHandler:)](browserenginekit/bedownloadmonitor-9bwls/usedownloadsfolder(placeholdertype:finalfilecreatedhandler:).md)
