RealtimeInputConfig_AutomaticActivityDetection class final
Configures automatic detection of activity.
- Inheritance
-
- Object
- ProtoMessage
- RealtimeInputConfig_AutomaticActivityDetection
Constructors
- RealtimeInputConfig_AutomaticActivityDetection({bool? disabled, RealtimeInputConfig_AutomaticActivityDetection_StartSensitivity? startOfSpeechSensitivity, int? prefixPaddingMs, RealtimeInputConfig_AutomaticActivityDetection_EndSensitivity? endOfSpeechSensitivity, int? silenceDurationMs})
- RealtimeInputConfig_AutomaticActivityDetection.fromJson(Object? j)
-
factory
Properties
- disabled → bool?
-
Optional. If enabled (the default), detected voice and text input count
as activity. If disabled, the client must send activity signals.
final
- endOfSpeechSensitivity → RealtimeInputConfig_AutomaticActivityDetection_EndSensitivity?
-
Optional. Determines how likely detected speech is ended.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- prefixPaddingMs → int?
-
Optional. The required duration of detected speech before start-of-speech
is committed. The lower this value, the more sensitive the
start-of-speech detection is and shorter speech can be recognized.
However, this also increases the probability of false positives.
final
- qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- silenceDurationMs → int?
-
Optional. The required duration of detected non-speech (e.g. silence)
before end-of-speech is committed. The larger this value, the longer
speech gaps can be without interrupting the user's activity but this will
increase the model's latency.
final
- startOfSpeechSensitivity → RealtimeInputConfig_AutomaticActivityDetection_StartSensitivity?
-
Optional. Determines how likely speech is to be detected.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String