RealtimeTranslationNoiseReduction class

Noise reduction configuration for a translation session.

Distinct from AudioInputNoiseReduction: the spec requires type and the field can be set to null on the wrapper to disable filtering.

Annotations
  • @immutable

Constructors

RealtimeTranslationNoiseReduction({required NoiseReductionType type})
Creates a RealtimeTranslationNoiseReduction.
const
RealtimeTranslationNoiseReduction.fromJson(Map<String, dynamic> json)
Creates from JSON.
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type NoiseReductionType
The noise-reduction profile.
final

Methods

copyWith({NoiseReductionType? type}) RealtimeTranslationNoiseReduction
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