- active
- Whether to enable the audio session.
This method is used to enable and disable the audio session.
This method can throw an AudioSessionException if another application is currently using the AudioSession in the foreground and does not support audio mixing.