Skip to content

Commit 793ed8b

Browse files
VinayGuthaldaymxn
andauthored
Update firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/LiveSession.kt
Co-authored-by: Daymon <[email protected]>
1 parent 8936ad1 commit 793ed8b

File tree

1 file changed

+9
-0
lines changed
  • firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type

1 file changed

+9
-0
lines changed

firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/LiveSession.kt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,15 @@ internal constructor(
234234
}
235235

236236
/**
237+
* Stops receiving from the server.
238+
*
239+
* If this function is called during an ongoing audio conversation, the server's response will not
240+
* be received, and no audio will be played; the live session object will no longer receive data
241+
* from the server.
242+
*
243+
* To resume receiving data, you must either handle it directly using [receive], or indirectly by
244+
* using [startAudioConversation].
245+
*/
237246
* Stops receiving from the server. If this function is called during an ongoing audio
238247
* conversation, the server's response will not be received, and no audio will be played. By
239248
* stopping receiving, the live session object will no longer receive data from the server. To

0 commit comments

Comments
 (0)