NERtcASRCaptionConfig class

Constructors

NERtcASRCaptionConfig({String? srcLanguage, List<String?>? srcLanguages, String? dstLanguage, List<String?>? dstLanguages, bool? needTranslateSameLanguage})

Properties

dstLanguage String?
指定字幕的目标语言(已废弃,建议使用 dstLanguages)
getter/setter pair
dstLanguages List<String?>?
指定字幕的目标语言
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
needTranslateSameLanguage bool?
当源语言与设置的目标语言相同时,是否仍要翻译。默认为 false
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
srcLanguage String?
指定字幕的源语言。默认为AUTO
getter/setter pair
srcLanguages List<String?>?
指定字幕的多个源语言。默认为空
getter/setter pair

Methods

encode() Object
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

Static Methods

decode(Object result) NERtcASRCaptionConfig