send

actual suspend fun send(content: Content, turnComplete: Boolean)(source)

Streams client data to the model.

Calling this after startAudioConversation will play the response audio immediately.

Parameters

content

Client Content to be sent to the model.

turnComplete

Whether the client has finished sending its turn.


actual suspend fun send(text: String, turnComplete: Boolean)(source)

Streams text data to the model.

Calling this after startAudioConversation will play the response audio immediately.

Parameters

text

Text to be sent to the model.

turnComplete

Whether the client has finished sending its turn.

expect suspend fun send(content: Content, turnComplete: Boolean = true)(source)

Streams client data to the model.

Calling this after startAudioConversation will play the response audio immediately.

Parameters

content

Client Content to be sent to the model.

turnComplete

Whether the client has finished sending its turn.


expect suspend fun send(text: String, turnComplete: Boolean = true)(source)

Streams text data to the model.

Calling this after startAudioConversation will play the response audio immediately.

Parameters

text

Text to be sent to the model.

turnComplete

Whether the client has finished sending its turn.

actual suspend fun send(content: Content, turnComplete: Boolean)(source)

Streams client data to the model.

Calling this after startAudioConversation will play the response audio immediately.

Parameters

content

Client Content to be sent to the model.

turnComplete

Whether the client has finished sending its turn.


actual suspend fun send(text: String, turnComplete: Boolean)(source)

Streams text data to the model.

Calling this after startAudioConversation will play the response audio immediately.

Parameters

text

Text to be sent to the model.

turnComplete

Whether the client has finished sending its turn.