KTVPlayerError enum

KTV 播放器错误码

Inheritance

Constructors

KTVPlayerError()
const

Values

ok → const KTVPlayerError

成功

fileNotExist → const KTVPlayerError

播放错误,请下载后播放

fileError → const KTVPlayerError

播放错误,请确认文件播放格式

notJoinRoom → const KTVPlayerError

播放错误,未进入房间

param → const KTVPlayerError

参数错误

startError → const KTVPlayerError

播放失败,找不到文件或文件打开失败

mixIdError → const KTVPlayerError

混音 ID 异常

positionError → const KTVPlayerError

设置播放位置出错

audioVolumeError → const KTVPlayerError

音量参数不合法,可设置的取值范围为 [0,400]

typeError → const KTVPlayerError

不支持此混音类型

pitchError → const KTVPlayerError

音调文件不合法

audioTrackError → const KTVPlayerError

音轨不合法

startingError → const KTVPlayerError

混音启动中

Properties

hashCode → int
The hash code for this object.
read-onlyinherited
index → int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

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<KTVPlayerError>
A constant List of the values in this enum, in order of their declaration.
[ok, fileNotExist, fileError, notJoinRoom, param, startError, mixIdError, positionError, audioVolumeError, typeError, pitchError, audioTrackError, startingError]