AudioMixingReason enum
The reason for the change of the music file playback state, reported in the RtcEngineEventHandler.audioMixingStateChanged.
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
startAudioMixingto 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
stopAudioMixingto stop playing the music file. - PausedByUser → const AudioMixingReason
-
Successfully calls
pauseAudioMixingto pause playing the music file. - ResumedByUser → const AudioMixingReason
-
Successfully calls
resumeAudioMixingto 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
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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.