AudioMixingReasonType enum
The reason why the playback state of the music file changes. Reported in the onAudioMixingStateChanged callback.
Constructors
- AudioMixingReasonType()
-
const
Values
- audioMixingReasonCanNotOpen → const AudioMixingReasonType
-
701: The SDK cannot open the music file. For example, the local music file does not exist, the SDK does not support the file format, or the the SDK cannot access the music file URL.
- audioMixingReasonTooFrequentCall → const AudioMixingReasonType
-
702: The SDK opens the music file too frequently. If you need to call startAudioMixing multiple times, ensure that the call interval is more than 500 ms.
- audioMixingReasonInterruptedEof → const AudioMixingReasonType
-
703: The music file playback is interrupted.
- audioMixingReasonOneLoopCompleted → const AudioMixingReasonType
-
721: The music file completes a loop playback.
- audioMixingReasonAllLoopsCompleted → const AudioMixingReasonType
-
723: The music file completes all loop playback.
- audioMixingReasonStoppedByUser → const AudioMixingReasonType
-
724: Successfully call stopAudioMixing to stop playing the music file.
- audioMixingReasonOk → const AudioMixingReasonType
-
0: The SDK opens music file successfully.
Properties
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<
AudioMixingReasonType> - A constant List of the values in this enum, in order of their declaration.