ActivityDetectionConfig class final

Configures automatic detection of user activity.

Constructors

ActivityDetectionConfig({Sensitivity? startSensitivity, Sensitivity? endSensitivity, int? prefixPaddingMS, int? silenceDurationMS})
Creates an ActivityDetectionConfig instance.
ActivityDetectionConfig.disabled()
Disables automatic activity detection.
factory

Properties

disabled → bool?
Whether automatic activity detection is disabled.
final
endSensitivity → Sensitivity?
Determines how likely the end of speech is detected.
final
hashCode → int
The hash code for this object.
no setterinherited
prefixPaddingMS → int?
How long detected speech should be present before start-of-speech is committed.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
silenceDurationMS → int?
How long silence (or non-speech) should be present before end-of-speech is committed.
final
startSensitivity → Sensitivity?
Determines how likely the start of speech is detected.
final

Methods

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

Operators

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