LiveContentResponse.Status

value class LiveContentResponse.Status


Represents the status of a LiveContentResponse, within a single interaction.

Summary

Public companion properties

LiveContentResponse.Status

The server was interrupted while generating data.

LiveContentResponse.Status

The server is actively sending data for the current interaction.

LiveContentResponse.Status

The model has finished sending data in the current interaction.

Public companion properties

INTERRUPTED

val INTERRUPTEDLiveContentResponse.Status

The server was interrupted while generating data.

An interruption occurs when the client sends a message while the server is actively sending data.

NORMAL

val NORMALLiveContentResponse.Status

The server is actively sending data for the current interaction.

TURN_COMPLETE

val TURN_COMPLETELiveContentResponse.Status

The model has finished sending data in the current interaction.

Can be set alongside content, signifying that the content is the last in the turn.