AudioSessionOperationRestriction

Permissions for SDK operations on the Audio Session.

Enumerations

AudioSessionOperationRestrictionNone
0: No restriction. The SDK can modify the Audio Session.
AudioSessionOperationRestrictionSetCategory
1: The SDK cannot modify the category of the Audio Session.
AudioSessionOperationRestrictionConfigureSession
2: The SDK cannot modify the category, mode, or categoryOptions of the Audio Session.
AudioSessionOperationRestrictionDeactivateSession
4: When leaving the channel, the SDK keeps the Audio Session active, such as for playing audio in the background.
AudioSessionOperationRestrictionAll
128: Fully restricts the SDK from operating on the Audio Session. The SDK can no longer make any changes to the Audio Session.