DDDiscoveryExtension
A specification that enables the framework to start and stop the extension’s discovery process.
Declaration
protocol DDDiscoveryExtension : AppExtensionOverview
Your extension adopts this protocol as the primary entry and exit points for device discovery.
The system calls your extension’s startDiscovery(session:) when AVRoutePickerView displays so your extension can include a specific third-party device in the picker. When the picker UI dismisses or the user selects a device, the system calls your extension’s stopDiscovery(session:) implementation to instruct it to perform any cleanup.