Bundle Google Gemini API client. Supports text generation, multimodal inputs (image, audio, video), chat sessions, function calling, and caching. Set GOOGLE_API_KEY before use. Compile with -lib gemini.
AudioPart
Audio message part (Gemini 2.0+) Supports audio input and output for multimodal interactions
Inherits: Part
Operations
GetBase64Data #
Get Base64 encoding audio string
method : public : GetBase64Data() ~ StringReturn
| Type | Description |
|---|---|
| String | encoding audio string |
GetData #
Get raw audio data
method : public : GetData() ~ Byte[]Return
| Type | Description |
|---|---|
| Byte | audio data bytes |
GetMimeType #
Get MIME type
method : public : GetMimeType() ~ StringReturn
| Type | Description |
|---|---|
| String | MIME type |