<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "DeviceDiscoveryExtension",
  "identifier" : "/documentation/DeviceDiscoveryExtension/DDDiscoverySession",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "DeviceDiscoveryExtension"
    ],
    "preciseIdentifier" : "c:objc(cs)DDDiscoverySession"
  },
  "title" : "DDDiscoverySession"
}
-->

# DDDiscoverySession

An object that relays device discovery events from the extension to the system.

```
class DDDiscoverySession
```

## Overview

The system passes the extension an instance of this class when it attempts to discover a device. Device discovery starts when an app displays <doc://com.apple.documentation/documentation/AVKit/AVRoutePickerView> and the system calls the extension’s `startDiscovery(session:)` implementation.

## Topics

### Providing an event to the system

[`-  reportEvent:`](/documentation/DeviceDiscoveryExtension/DDDiscoverySession/report(_:))

Reports an event to the system.

## Relationships

### Conforms To

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

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

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

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

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

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

### 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)