Contents

isDeviceMuted(_:)

Gets the current mute state for the specified device.

Declaration

@MainActor func isDeviceMuted(_ device: MediaOutputDevice) -> Bool

Parameters

  • device:

    The device for which to check the mute state.

Return Value

true if the device is muted, false otherwise.

Discussion

Called when a device reports true for canMute.

Grouping

For a group of devices, all devices in the group must report true for canMute.