Contents

lostDevice(_:)

Removes a device from the system’s device lists so users can no longer select it.

Declaration

@MainActor final func lostDevice(_ device: MediaOutputDevice)

Parameters

  • device:

    The device that is no longer available.

Mentioned in

Discussion

Call this function when a previously discovered MediaOutputDevice can no longer be found.