<!--
{
  "availability" : [
    "iOS: 18.2.0 -",
    "iPadOS: 18.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BrowserEngineKit",
  "identifier" : "/documentation/BrowserEngineKit/BEDownloadMonitor-9bwls/Location",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "BrowserEngineKit"
    ],
    "preciseIdentifier" : "s:16BrowserEngineKit17BEDownloadMonitorC8LocationC"
  },
  "title" : "BEDownloadMonitor.Location"
}
-->

# BEDownloadMonitor.Location

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

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

## Overview

Pass the [`bookmarkData`](/documentation/BrowserEngineKit/BEDownloadMonitor-9bwls/Location/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](/documentation/BrowserEngineKit/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 <doc://com.apple.documentation/documentation/Foundation/NSURL/bookmarkData(options:includingResourceValuesForKeys:relativeTo:)>, passing the <doc://com.apple.documentation/documentation/Foundation/NSURL/BookmarkCreationOptions/withSecurityScope> flag.

## Topics

### Getting information about a location

[`let url: URL`](/documentation/BrowserEngineKit/BEDownloadMonitor-9bwls/Location/url)

The location of the resource.

[`let bookmarkData: Data`](/documentation/BrowserEngineKit/BEDownloadMonitor-9bwls/Location/bookmarkData)

A bookmark that resolves to the resource’s URL.

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Equatable`](/documentation/Swift/Equatable)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`Sendable`](/documentation/Swift/Sendable)

[`CVarArg`](/documentation/Swift/CVarArg)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)