AUDIO_SESSION_OPERATION_RESTRICTION

SDK's permission to operate on the audio session.

Enumerations

AUDIO_SESSION_OPERATION_RESTRICTION_NONE
(0): No restriction. The SDK can modify the audio session.
AUDIO_SESSION_OPERATION_RESTRICTION_SET_CATEGORY
(1): The SDK cannot change the audio session category.
AUDIO_SESSION_OPERATION_RESTRICTION_CONFIGURE_SESSION
(2): The SDK cannot change the audio session's category, mode, or categoryOptions.
AUDIO_SESSION_OPERATION_RESTRICTION_DEACTIVATE_SESSION
(4): When the user leaves the channel, the SDK keeps the audio session active, e.g., for background audio playback.
AUDIO_SESSION_OPERATION_RESTRICTION_ALL
(128): Completely restricts the SDK from operating on the audio session. The SDK cannot modify the audio session.