AUDIO_SESSION_OPERATION_RESTRICTION
The operation permissions of the SDK on the audio session.
Enumerator
- AUDIO_SESSION_OPERATION_RESTRICTION_NONE
- 0: No restriction, the SDK can change 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 category, mode, or categoryOptions.
- AUDIO_SESSION_OPERATION_RESTRICTION_DEACTIVATE_SESSION
- 4: The SDK keeps the audio session active when the user leaves the channel, for example, to play an audio file in the background.
- AUDIO_SESSION_OPERATION_RESTRICTION_ALL
- 128: Completely restricts the operation permissions of the SDK on the audio session; the SDK cannot change the audio session.