discoveryFailed(_:)
Reports a discovery failure to the system, indicating that the extension was unable to search for devices.
Declaration
@MainActor final func discoveryFailed(_ error: MediaDeviceError)Parameters
- error:
The error describing why discovery failed.
Mentioned in
Discussion
Call this function when discovery is prevented in an unexpected way. Do not call this function when devices are simply not discovered.