renderingMode
The current audio session’s rendering mode.
Declaration
var renderingMode: AVAudioSession.RenderingMode { get }Discussion
The value of this property is AVAudioSession.RenderingMode.notApplicable in the following cases:
The currently selected port isn’t of type carAudio or, in iOS 18 and later, airPlay.
Your app uses a playback API other than AVPlayer or AVSampleBufferAudioRenderer.
Playback isn’t currently active.
The audio session is inactive, muted, or not eligible for Now Playing.