RealtimeTranslationSessionUpdateRequest class

Update payload for a translation session (session.update event).

Translation sessions support updates to audio.input.transcription, audio.input.noise_reduction, and audio.output.language only.

Annotations
  • @immutable

Properties

audio RealtimeTranslationSessionAudio?
Audio configuration delta.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({Object? audio = unsetCopyWithValue}) RealtimeTranslationSessionUpdateRequest
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