Package com.google.genai.types
Class RealtimeInputConfig
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.RealtimeInputConfig
Marks the end of user activity.
This can only be sent if automatic (i.e. server-side) activity detection is disabled.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder for RealtimeInputConfig. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Optional<ActivityHandling>
Defines what effect activity has.abstract Optional<AutomaticActivityDetection>
If not set, automatic activity detection is enabled by default.static RealtimeInputConfig.Builder
builder()
Instantiates a builder for RealtimeInputConfig.static RealtimeInputConfig
Deserializes a JSON string to a RealtimeInputConfig object.abstract RealtimeInputConfig.Builder
Creates a builder with the same values as this instance.abstract Optional<TurnCoverage>
Defines which input is included in the user's turn.Methods inherited from class com.google.genai.JsonSerializable
fromJsonString, toJson
-
Constructor Details
-
RealtimeInputConfig
public RealtimeInputConfig()
-
-
Method Details
-
automaticActivityDetection
If not set, automatic activity detection is enabled by default. If automatic voice detection is disabled, the client must send activity signals. -
activityHandling
Defines what effect activity has. -
turnCoverage
Defines which input is included in the user's turn. -
builder
Instantiates a builder for RealtimeInputConfig. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a RealtimeInputConfig object.
-