PlayerError enum

播放错误码

Inheritance
Available extensions

Values

ok → const PlayerError

正常。

formatNotSupport → const PlayerError

不支持此类型。

invalidPath → const PlayerError

无效的播放路径。

invalidState → const PlayerError

未满足前序接口调用的要求,请查看具体接口文档。

invalidPosition → const PlayerError

设置播放位置出错。

invalidVolume → const PlayerError

音量参数不合法。

invalidPitch → const PlayerError

音调参数设置不合法。

invalidAudioTrackIndex → const PlayerError

音轨参数设置不合法。

invalidPlaybackSpeed → const PlayerError

播放速度参数设置不合法。

invalidEffectId → const PlayerError

音效 ID 异常。还未加载或播放文件,就调用其他 API。

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<PlayerError>
A constant List of the values in this enum, in order of their declaration.