AUDIO_SESSION_OPERATION_RESTRICTION

SDK operation permissions for Audio Session.

Enumerations

AUDIO_SESSION_OPERATION_RESTRICTION_NONE
0: No restriction. SDK can modify the Audio Session.
AUDIO_SESSION_OPERATION_RESTRICTION_SET_CATEGORY
1: SDK cannot change the Audio Session category.
AUDIO_SESSION_OPERATION_RESTRICTION_CONFIGURE_SESSION
2: SDK cannot change the Audio Session's category, mode, or categoryOptions.
AUDIO_SESSION_OPERATION_RESTRICTION_DEACTIVATE_SESSION
4: When leaving the channel, SDK keeps the Audio Session active, e.g., for background audio playback.
AUDIO_SESSION_OPERATION_RESTRICTION_ALL
128: Fully restricts SDK from modifying Audio Session. SDK can no longer make any changes.