send Realtime Input
suspend fun sendRealtimeInput(audio: Blob? = null, audioStreamEnd: Boolean? = null, video: Blob? = null, text: String? = null, activityStart: ActivityStart? = null, activityEnd: ActivityEnd? = null)
Sends real-time input (audio, video, etc.) to the model.
Exactly one of the parameters should be set.
Parameters
audio
A Blob containing audio data to send.
audio Stream End
A boolean flag indicating the end of an audio stream.
video
A Blob containing video data to send.
text
A string containing text to send.
activity Start
An ActivityStart indicator to signify the beginning of an activity.
activity End
An ActivityEnd indicator to signify the conclusion of an activity.