AudioSessionException
Thrown when an audio session operation fails.
On Apple platforms, this wraps errors from AVAudioSession operations such as configuring the category/mode or activating/deactivating the session. On Android, this is generally not thrown since audio session management is handled by the system.
Parameters
message
A human-readable description of the session failure.
cause
The underlying exception, or null.