SubtitleErrorCode enum

字幕任务错误码。

Inheritance

Constructors

SubtitleErrorCode()
const

Values

unknown → const SubtitleErrorCode

客户端无法识别云端媒体处理发送的错误码。

success → const SubtitleErrorCode

字幕已开启。

postProcessError → const SubtitleErrorCode

云端媒体处理内部出现错误,请联系技术支持。

asrConnectionError → const SubtitleErrorCode

第三方服务连接失败,请联系技术支持。

asrServiceError → const SubtitleErrorCode

第三方服务内部出现错误,请联系技术支持。

beforeJoinRoom → const SubtitleErrorCode

未进房导致调用 RTCRoom.startSubtitle 失败。请加入房间后再调用此方法。

alreadyOn → const SubtitleErrorCode

字幕已开启,无需重复调用 RTCRoom.startSubtitle

unsupportedLanguage → const SubtitleErrorCode

所选目标语言目前暂不支持。

postProcessTimeout → const SubtitleErrorCode

云端媒体处理超时未响应,请联系技术支持。

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