AudioSessionOperationRestriction

SDK's operation permissions for Audio Session.

Enumerations

audioSessionOperationRestrictionNone
0: No restriction. SDK can modify the Audio Session.
audioSessionOperationRestrictionSetCategory
1: SDK cannot change the Audio Session category.
audioSessionOperationRestrictionConfigureSession
2: SDK cannot change the Audio Session category, mode, or categoryOptions.
audioSessionOperationRestrictionDeactivateSession
4: When leaving the channel, the SDK keeps the Audio Session active, for example, to continue audio playback in the background.
audioSessionOperationRestrictionAll
128: Fully restricts the SDK's operation permissions for Audio Session. SDK cannot make any changes to the Audio Session.