Actives or deactivates your application’s audio session.
- iOS 2.0–7.0Deprecated
trueto activate your application’s audio session, or
falseto deactivate it.
A result code. See Result Codes.
Activating your audio session may interrupt audio sessions belonging to other applications running in the background, depending on categories and priorities. Deactivating your audio session allows other, interrupted audio sessions to resume.
When another active audio session does not allow mixing, attempting to activate your audio session may fail.