RealtimeTranslationInputTranscription class
Optional source-language transcription for a translation session.
When configured, the server emits session.input_transcript.delta events.
Translation itself still runs from the input audio stream regardless.
- Annotations
-
- @immutable
Constructors
- RealtimeTranslationInputTranscription({required String model})
-
Creates a RealtimeTranslationInputTranscription.
const
-
RealtimeTranslationInputTranscription.fromJson(Map<
String, dynamic> json) -
Creates from JSON.
factory
Properties
Methods
-
copyWith(
{String? model}) → RealtimeTranslationInputTranscription - Returns a copy with the given fields replaced.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts to JSON.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override