Live

class Live

The Live API client for establishing WebSocket connections to Gemini models.

Functions

Link copied to clipboard
suspend fun connect(model: String, config: LiveConnectConfig? = null): LiveSession

Connects to the Live API and establishes a WebSocket session.