Instance Property

secondaryAudioShouldBeSilencedHint

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

Declaration

@property(readonly) BOOL secondaryAudioShouldBeSilencedHint;

Discussion

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

Related Symbols

AVAudioSessionSilenceSecondaryAudioHintNotification

Posted when the primary audio from other applications starts and stops.