AudioSessionOperationRestriction

The operation permissions of the SDK on the audio session.

Enumerator

AudioSessionOperationRestrictionNone
0: No restriction, the SDK can change 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: The SDK keeps the audio session active when the user leaves the channel, for example, to play an audio file in the background.
AudioSessionOperationRestrictionAll
128: Completely restricts the operation permissions of the SDK on the audio session; the SDK cannot change the audio session.