LiveGenerativeModel

Represents a multimodal model (like Gemini) capable of real-time content generation based on various input types, supporting bidirectional streaming.

Represents a multimodal model (like Gemini) capable of real-time content generation based on various input types, supporting bidirectional streaming.

Represents a multimodal model (like Gemini) capable of real-time content generation based on various input types, supporting bidirectional streaming.

Functions

Link copied to clipboard
actual suspend fun connect(sessionResumption: SessionResumptionConfig?): LiveSession

Start a LiveSession with the server for bidirectional streaming.

expect suspend fun connect(sessionResumption: SessionResumptionConfig? = null): LiveSession

Start a LiveSession with the server for bidirectional streaming.

actual suspend fun connect(sessionResumption: SessionResumptionConfig?): LiveSession

Start a LiveSession with the server for bidirectional streaming.