Package-level declarations
Types
Representation of a multi-turn interaction with a model.
An abstract class representing the status of an on-device model download operation.
Entry point for all Firebase AI functionality.
Entry point for all Firebase AI functionality.
Entry point for all Firebase AI functionality.
Represents a multimodal model (like Gemini), capable of generating content based on various input types.
Represents a multimodal model (like Gemini), capable of generating content based on various input types.
A model of the cloud backend, over the platform SDK. The platforms other than Android have no on-device model (as Android without the firebase-ai-ondevice library): OnDeviceConfig modes that prefer one of the two fall back to the cloud, ONLY_ON_DEVICE fails with FirebaseAIOnDeviceNotAvailableException, and onDeviceExtension is null.
Specifies how the SDK should choose between on-device and in-cloud inference.
Indicates the source of the model inference.
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.
Configuration for on-device AI model inference.
Extension class for performing on-device operations.
Extension class for performing on-device operations.
The on-device model of a GenerativeModel. The platforms other than Android have none (as Android without the firebase-ai-ondevice library), so GenerativeModel.onDeviceExtension is always null there and no instance exists; its members report the model as unavailable.
Represents the current status of the on-device AI model.
Representation of a multi-turn interaction with a server template model.
Represents a multimodal model (like Gemini), capable of generating content based on various templated input types.
Represents a multimodal model (like Gemini), capable of generating content based on various templated input types.
Represents a multimodal model (like Gemini), capable of generating content based on various templated input types.
Properties
The FirebaseAI instance for the default FirebaseApp using the Google AI Backend.
Functions
Returns the FirebaseAI instance for the provided FirebaseApp and backend.