Contents

foundDevice(_:)

Notifies the system of a new media device, so it can be included in device lists for users to select.

Declaration

@MainActor final func foundDevice(_ device: MediaOutputDevice)

Parameters

  • device:

    The device that was discovered.

Mentioned in

Discussion

Call this function when a MediaDeviceExtension discovers a new device.