Interface RealtimeTranscriptionSessionAudioInputTurnDetection.Visitor
-
- All Implemented Interfaces:
public interface RealtimeTranscriptionSessionAudioInputTurnDetection.Visitor<T extends Object>
An interface that defines how to map each variant of RealtimeTranscriptionSessionAudioInputTurnDetection to a value of type T.
-
-
Method Summary
Modifier and Type Method Description abstract T
visitServerVad(RealtimeTranscriptionSessionAudioInputTurnDetection.ServerVad serverVad)
Server-side voice activity detection (VAD) which flips on when user speech is detected and off after a period of silence. abstract T
visitSemanticVad(RealtimeTranscriptionSessionAudioInputTurnDetection.SemanticVad semanticVad)
Server-side semantic turn detection which uses a model to determine when the user has finished speaking. T
unknown(JsonValue json)
Maps an unknown variant of RealtimeTranscriptionSessionAudioInputTurnDetection to a value of type T. -
-
Method Detail
-
visitServerVad
abstract T visitServerVad(RealtimeTranscriptionSessionAudioInputTurnDetection.ServerVad serverVad)
Server-side voice activity detection (VAD) which flips on when user speech is detected and off after a period of silence.
-
visitSemanticVad
abstract T visitSemanticVad(RealtimeTranscriptionSessionAudioInputTurnDetection.SemanticVad semanticVad)
Server-side semantic turn detection which uses a model to determine when the user has finished speaking.
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of RealtimeTranscriptionSessionAudioInputTurnDetection to a value of type T.
An instance of RealtimeTranscriptionSessionAudioInputTurnDetection can contain an unknown variant if it was deserialized from data that doesn't match any known variant. For example, if the SDK is on an older version than the API, then the API may respond with new variants that the SDK is unaware of.
-
-
-
-