Stay organized with collections
Save and categorize content based on your preferences.
Firebase.AI.LiveSessionResponse
Represents the response from the model for live content updates.
Summary
Properties
|
Audio
|
IReadOnlyList< byte[]>
The response's content that was audio, if it exists.
|
AudioAsFloat
|
IReadOnlyList< float[]>
The response's content that was audio, if it exists, converted into floats.
|
Message
|
The detailed message from the live session.
|
Text
|
string
The response's content as text, if it exists.
|
Properties
Audio
IReadOnlyList< byte[]> Firebase::AI::LiveSessionResponse::Audio
The response's content that was audio, if it exists.
AudioAsFloat
IReadOnlyList< float[]> Firebase::AI::LiveSessionResponse::AudioAsFloat
The response's content that was audio, if it exists, converted into floats.
Message
readonly ILiveSessionMessage Firebase::AI::LiveSessionResponse::Message
The detailed message from the live session.
Text
string Firebase::AI::LiveSessionResponse::Text
The response's content as text, if it exists.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-24 UTC.
[null,null,["Last updated 2025-07-24 UTC."],[],[],null,["# Firebase.AI.LiveSessionResponse Struct Reference\n\nFirebase.AI.LiveSessionResponse\n===============================\n\nRepresents the response from the model for live content updates.\n\nSummary\n-------\n\n| ### Properties ||\n|-------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Audio](#struct_firebase_1_1_a_i_1_1_live_session_response_1a91a87e93668e8b1f5c6255d601ee7969) | `IReadOnlyList\u003c byte[]\u003e` The response's content that was audio, if it exists. |\n| [AudioAsFloat](#struct_firebase_1_1_a_i_1_1_live_session_response_1ad85519e424827e9065bf0eb5d8e354aa) | `IReadOnlyList\u003c float[]\u003e` The response's content that was audio, if it exists, converted into floats. |\n| [Message](#struct_firebase_1_1_a_i_1_1_live_session_response_1aa412e5542d81993faceeae5421ac8cb8) | `readonly `[ILiveSessionMessage](/docs/reference/unity/interface/firebase/a-i/i-live-session-message#interface_firebase_1_1_a_i_1_1_i_live_session_message) The detailed message from the live session. |\n| [Text](#struct_firebase_1_1_a_i_1_1_live_session_response_1a4363b805a08d0a07e8b0730cfec87321) | `string` The response's content as text, if it exists. |\n\nProperties\n----------\n\n### Audio\n\n```c#\nIReadOnlyList\u003c byte[]\u003e Firebase::AI::LiveSessionResponse::Audio\n``` \nThe response's content that was audio, if it exists. \n\n### AudioAsFloat\n\n```c#\nIReadOnlyList\u003c float[]\u003e Firebase::AI::LiveSessionResponse::AudioAsFloat\n``` \nThe response's content that was audio, if it exists, converted into floats. \n\n### Message\n\n```c#\nreadonly ILiveSessionMessage Firebase::AI::LiveSessionResponse::Message\n``` \nThe detailed message from the live session. \n\n### Text\n\n```c#\nstring Firebase::AI::LiveSessionResponse::Text\n``` \nThe response's content as text, if it exists."]]