TranscriberParams class
Copyright (c) 2025 Tencent. All rights reserved. Parameters for real-time transcription.
Constructors
-
TranscriberParams({String? transcriberRobotId, String? sourceLanguage, List<
String> ? userIdsToTranscribe, List<String> ? translationLanguages}) -
TranscriberParams.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceLanguage ↔ String?
-
Source language code (e.g., "zh" for Chinese, "en" for English).
getter/setter pair
- transcriberRobotId ↔ String?
-
Unique ID of the transcriber robot.
If not specified, SDK will generate a default ID: "transcriber_${roomid}robot${userid}".
getter/setter pair
-
translationLanguages
↔ List<
String> ? -
Target language codes for translation.
Supported: "zh", "en", "vi", "ja", "ko", "id", "th", "pt", "ar", "es", "fr", "ms", "de", "it", "ru".
getter/setter pair
-
userIdsToTranscribe
↔ List<
String> ? -
List of user IDs to transcribe. If empty, transcribes all users in the room.
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited