AgoraAudioSessionOperationRestriction Constants Reference
Declared in | AgoraEnumerates.h |
---|
AgoraAudioSessionOperationRestriction
The operational permission of the SDK on the audio session.
Definition
typedef NS_OPTIONS(NSUInteger, AgoraAudioSessionOperationRestriction ) {
AgoraAudioSessionOperationRestrictionNone = 0,
AgoraAudioSessionOperationRestrictionSetCategory = 1,
AgoraAudioSessionOperationRestrictionConfigureSession = 1 < < 1,
AgoraAudioSessionOperationRestrictionDeactivateSession = 1 < < 2,
AgoraAudioSessionOperationRestrictionAll = 1 < < 7,
};
Constants
AgoraAudioSessionOperationRestrictionNone
-
No restriction; the SDK can change the audio session.
Declared In
AgoraEnumerates.h
. AgoraAudioSessionOperationRestrictionSetCategory
-
The SDK cannot change the audio session category.
Declared In
AgoraEnumerates.h
. AgoraAudioSessionOperationRestrictionConfigureSession
-
The SDK cannot change the audio session category, mode, or categoryOptions.
Declared In
AgoraEnumerates.h
. AgoraAudioSessionOperationRestrictionDeactivateSession
-
The SDK keeps the audio session active when the user leaves the channel, for example, to play an audio file in the background.
Declared In
AgoraEnumerates.h
. AgoraAudioSessionOperationRestrictionAll
-
Completely restricts the operational permission of the SDK on the audio session; the SDK cannot change the audio session.
Declared In
AgoraEnumerates.h
.
Declared In
AgoraEnumerates.h