AudioMixingReason enum

The reason for the change of the music file playback state, reported in the RtcEngineEventHandler.audioMixingStateChanged.

Inheritance

Constructors

AudioMixingReason()
const

Values

CanNotOpen → const AudioMixingReason

The SDK cannot open the music file. Possible causes include the local music file does not exist, the SDK does not support the file format, or the SDK cannot access the music file URL.

TooFrequentCall → const AudioMixingReason

The SDK opens the music file too frequently. If you need to call RtcEngine.startAudioMixing multiple times, ensure that the call interval is longer than 500 ms.

InterruptedEOF → const AudioMixingReason

The music file playback is interrupted.

StartedByUser → const AudioMixingReason

Successfully calls startAudioMixing to play a music file.

OneLoopCompleted → const AudioMixingReason

The music file completes a loop playback.

StartNewLoop → const AudioMixingReason

The music file starts a new loop playback.

AllLoopsCompleted → const AudioMixingReason

The music file completes all loop playback.

StoppedByUser → const AudioMixingReason

Successfully calls stopAudioMixing to stop playing the music file.

PausedByUser → const AudioMixingReason

Successfully calls pauseAudioMixing to pause playing the music file.

ResumedByUser → const AudioMixingReason

Successfully calls resumeAudioMixing to resume playing the music file.

OK → const AudioMixingReason

No error.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<AudioMixingReason>
A constant List of the values in this enum, in order of their declaration.