AudioSessionOperationRestriction

SDK operation permissions for Audio Session.

Enumerations

AudioSessionOperationRestrictionNone
0: No restriction. The SDK can modify the Audio Session.
AudioSessionOperationRestrictionSetCategory
1: The SDK cannot change the Audio Session category.
AudioSessionOperationRestrictionConfigureSession
2: The 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 play audio in the background.
AudioSessionOperationRestrictionAll
128: Completely restricts the SDK from operating on the Audio Session. The SDK can no longer make any changes to the Audio Session.