NERtcASRCaptionConfig class

@if Chinese startASRCaption 时的一些填写信息

@see NERtcEx#startASRCaption(NERtcASRCaptionConfig config) @since 4.6.25 @endif

Annotations
  • @JsonSerializable.new()

Constructors

NERtcASRCaptionConfig({String? srcLanguage, List<String>? srcLanguageArr, List<String>? dstLanguageArr, bool needTranslateSameLanguage = false})
NERtcASRCaptionConfig.fromJson(Map<String, dynamic> json)
factory

Properties

dstLanguageArr List<String>?
@if Chinese 字幕的目标语言。默认为空,不翻译。
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
needTranslateSameLanguage bool
@if Chinese 当源语言与设置的目标语言相同时,是否仍要翻译。默认为false,不翻译。 @endif
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
srcLanguage String?
@if Chinese 指定字幕的源语言,默认为AUTO
getter/setter pair
srcLanguageArr List<String>?
@if Chinese 字幕的多源语言,默认为空。
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited