LiveContentResponse.Status.Companion

public static class LiveContentResponse.Status.Companion


Summary

Public fields

static final @NonNull LiveContentResponse.Status

The server was interrupted while generating data.

static final @NonNull LiveContentResponse.Status

The server is actively sending data for the current interaction.

static final @NonNull LiveContentResponse.Status

The model has finished sending data in the current interaction.

Public fields

INTERRUPTED

public static final @NonNull LiveContentResponse.Status INTERRUPTED

The server was interrupted while generating data.

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

NORMAL

public static final @NonNull LiveContentResponse.Status NORMAL

The server is actively sending data for the current interaction.

TURN_COMPLETE

public static final @NonNull LiveContentResponse.Status TURN_COMPLETE

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.