Transports of this type are designed primarily for development and testing
purposes. For production applications, you will need to build a server
component with a server-friendly transport, like the
DailyTransport, to securely handle API keys.
Installation
Add the transport dependency to yourapp/build.gradle.kts:
AndroidManifest.xml:
Usage
Configuration
GeminiServiceOptions
connect() takes a GeminiServiceOptions:
GeminiServiceOptions.withDefaults
For common cases,GeminiServiceOptions.withDefaults() builds the modelConfig for you (audio output with the given voice):
Audio devices
The transport exposes static constants for audio routing:Resources
Demo
Simple Chatbot Demo
Source
Client Transports
Pipecat Android Client Reference
Complete API documentation for the Pipecat Android client.