Class UpdateSessionParams
java.lang.Object
com.alibaba.dashscope.types.audio.UpdateSessionParams
Session configuration for
RealtimeSession.updateSession (audio design §1.3).
Only explicitly-set fields are serialized — unlike 2.x, unset fields are omitted rather than
sent with defaults. To force a JSON null on the wire (the explicit-null sentinel, e.g. to
clear a server-side setting), put a null value into parameters; a typed field
that was never set simply does not appear.
enableInputAudioTranscription/enableTurnDetection follow Python semantics:
TRUE emits the config object, FALSE emits an explicit null (disables the
feature server-side), unset emits nothing.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classNew-style nested audio format (audio.input/output.format).static final classstatic final classqwen_audio dialect transcription settings.static final classLivetranslate dialect translation settings. -
Method Summary
Modifier and TypeMethodDescriptionstatic UpdateSessionParams.Builderbuilder()com.fasterxml.jackson.databind.node.ObjectNodeSerializes thesessionobject of asession.updateframe.
-
Method Details
-
builder
-
toSessionJson
public com.fasterxml.jackson.databind.node.ObjectNode toSessionJson()Serializes thesessionobject of asession.updateframe.
-