Stay organized with collections
Save and categorize content based on your preferences.
Firebase.AI.LiveSessionContent
Content generated by the model in a live session.
Summary
Inheritance
Inherits from:
Firebase.AI.ILiveSessionMessage
Properties
|
Content
|
The main content data of the response.
|
Interrupted
|
readonly bool
Whether generation was interrupted.
|
TurnComplete
|
readonly bool
Whether the turn is complete.
|
Properties
Content
readonly ModelContent Firebase::AI::LiveSessionContent::Content
The main content data of the response.
This can be null
if there was no content.
Interrupted
readonly bool Firebase::AI::LiveSessionContent::Interrupted
Whether generation was interrupted.
If true, indicates that a client message has interrupted current model.
TurnComplete
readonly bool Firebase::AI::LiveSessionContent::TurnComplete
Whether the turn is complete.
If true, indicates that the model is done generating.
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-05-20 UTC.
[null,null,["Last updated 2025-05-20 UTC."],[],[],null,["# Firebase.AI.LiveSessionContent Struct Reference\n\nFirebase.AI.LiveSessionContent\n==============================\n\nContent generated by the model in a live session.\n\nSummary\n-------\n\n### Inheritance\n\nInherits from: [Firebase.AI.ILiveSessionMessage](/docs/reference/unity/interface/firebase/a-i/i-live-session-message)\n\n| ### Properties ||\n|------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Content](#struct_firebase_1_1_a_i_1_1_live_session_content_1ab0310dbc339d427fb2a267e9f7550654) | `readonly `[ModelContent](/docs/reference/unity/struct/firebase/a-i/model-content#struct_firebase_1_1_a_i_1_1_model_content) The main content data of the response. |\n| [Interrupted](#struct_firebase_1_1_a_i_1_1_live_session_content_1ace0eeef19257a536fa541797acd73106) | `readonly bool` Whether generation was interrupted. |\n| [TurnComplete](#struct_firebase_1_1_a_i_1_1_live_session_content_1ae1f32fa6bead9896376268cbf1bc441e) | `readonly bool` Whether the turn is complete. |\n\nProperties\n----------\n\n### Content\n\n```c#\nreadonly ModelContent Firebase::AI::LiveSessionContent::Content\n``` \nThe main content data of the response.\n\nThis can be `null` if there was no content. \n\n### Interrupted\n\n```c#\nreadonly bool Firebase::AI::LiveSessionContent::Interrupted\n``` \nWhether generation was interrupted.\n\nIf true, indicates that a client message has interrupted current model. \n\n### TurnComplete\n\n```c#\nreadonly bool Firebase::AI::LiveSessionContent::TurnComplete\n``` \nWhether the turn is complete.\n\nIf true, indicates that the model is done generating."]]