GeminiLiveSessionExtras extension

Features that only gemini_live provides.

These do not exist in package:firebase_ai. Code that uses them must be changed before moving back to firebase_ai.

on

Properties

rawSession → LiveSession

Available on LiveSession, provided by the GeminiLiveSessionExtras extension

The underlying gemini_live core session, for features outside the firebase_ai API (for example sendAudioStreamEnd).
no setter
tokenTracker → GeminiTokenUsageTracker

Available on LiveSession, provided by the GeminiLiveSessionExtras extension

Running token usage and cost for this session, fed by the server's usage metadata.
no setter