Contents

deactivateDevice(_:session:)

Called when the user deactivates a device via a user interface.

Declaration

@MainActor func deactivateDevice(_ device: MediaOutputDevice, session: MediaOutputSession)

Parameters

  • device:

    The device to deactivate.

  • session:

    The session associated with the deactivation.

Mentioned in

Grouping

The device should be removed from its modifiable group. updateDevices(_:) should be called to update the state of group information.