AudioMixingReason enum

The reason why the playback state of the music file changes. Reported in the audioMixingStateChanged callback.

Inheritance

Constructors

AudioMixingReason()
const

Values

CanNotOpen → const AudioMixingReason

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 SDK cannot access the music file URL.

TooFrequentCall → const AudioMixingReason

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.

InterruptedEOF → const AudioMixingReason

703: The music file playback is interrupted.

StartedByUser → const AudioMixingReason

720: The method call of startAudioMixing to play music files succeeds.

OneLoopCompleted → const AudioMixingReason

721: The music file completes a loop playback.

StartNewLoop → const AudioMixingReason

722: The music file starts a new loop playback.

AllLoopsCompleted → const AudioMixingReason

723: The music file completes all loop playbacks.

StoppedByUser → const AudioMixingReason

724: The method call of stopAudioMixing to stop playing the music file succeeds.

PausedByUser → const AudioMixingReason

725: The method call of pauseAudioMixing to pause playing the music file succeeds.

ResumedByUser → const AudioMixingReason

726: The method call of resumeAudioMixing to resume playing the music file succeeds.

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.