TranslationRoomConfig class

Room-level translation configuration

Constructors

TranslationRoomConfig.new({required bool supportTranslation, required LanguageMode spokenLanguageMode, List<LanguageEntry>? allowedSpokenLanguages, List<String>? blockedSpokenLanguages, required LanguageMode listenLanguageMode, List<LanguageEntry>? allowedListenLanguages, List<String>? blockedListenLanguages, required int maxActiveChannelsPerSpeaker, required bool autoDetectSpokenLanguage, bool? allowSpokenLanguageChange, bool? allowListenLanguageChange, TranslationVoiceConfig? translationVoiceConfig})
const
TranslationRoomConfig.fromMap(Map<String, dynamic> map)
factory

Properties

allowedListenLanguages → List<LanguageEntry>?
final
allowedSpokenLanguages → List<LanguageEntry>?
final
allowListenLanguageChange → bool?
final
allowSpokenLanguageChange → bool?
final
autoDetectSpokenLanguage → bool
final
blockedListenLanguages → List<String>?
final
blockedSpokenLanguages → List<String>?
final
hashCode → int
The hash code for this object.
no setterinherited
listenLanguageMode → LanguageMode
final
maxActiveChannelsPerSpeaker → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
spokenLanguageMode → LanguageMode
final
supportTranslation → bool
final
translationVoiceConfig → TranslationVoiceConfig?
final

Methods

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

Operators

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