Instance Property


A Boolean value that indicates whether another application is playing audio.


@property(readonly) BOOL secondaryAudioShouldBeSilencedHint;


The value is YES when another application with a non-mixable audio session is playing audio.

Applications should use this property as a hint to silence audio that is secondary to the functionality of the application. For example, a game using AVAudioSessionCategoryAmbient can use this property to decide to mute its soundtrack while leaving its sound effects unmuted.

See Also

Responding to Other Audio


A Boolean value indicating whether another app is currently playing audio.