AgoraAudioSessionOperationRestriction Constants Reference

Declared in AgoraEnumerates.h

AgoraAudioSessionOperationRestriction

Audio session restriction.

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 has full control of the audio session operations.

Declared In AgoraEnumerates.h.

AgoraAudioSessionOperationRestrictionSetCategory

The SDK does not change the audio session category.

Declared In AgoraEnumerates.h.

AgoraAudioSessionOperationRestrictionConfigureSession

The SDK does not change any setting of the audio session (category, mode, categoryOptions).

Declared In AgoraEnumerates.h.

AgoraAudioSessionOperationRestrictionDeactivateSession

The SDK keeps the audio session active when leaving a channel.

Declared In AgoraEnumerates.h.

AgoraAudioSessionOperationRestrictionAll

The SDK does not configure the audio session anymore.

Declared In AgoraEnumerates.h.

Declared In

AgoraEnumerates.h