StopListening

@Serializable
data class StopListening(val id: Long, val timestamp: Long, val chunkId: String, val isSupplement: Boolean = false) : SessionFrame.SendEvent.Body

Defines action ordering MapGPT to close the microphone and stop capturing input.

Constructors

Link copied to clipboard
constructor(id: Long, timestamp: Long, chunkId: String, isSupplement: Boolean = false)

Properties

Link copied to clipboard
open override val chunkId: String

Describes which conversational chunk the event is tied to, in format of {date}@{id} where the chunkPrefix should be considered as an ID of the AI response and chunkOffset is the logical order in the response stream.

Link copied to clipboard

Represents logical order in the response stream.

Link copied to clipboard

Represents an ID of the AI response.

Link copied to clipboard
open override val id: Long

A unique increasing ID field for the event. This can be used by the client to reference the last received event ID when reconnecting to the service.

Link copied to clipboard
open override val isSupplement: Boolean = false

Defines events that were not generated in direct response to user query but retroactively or spontaneously by the assistant.

Link copied to clipboard
open override val timestamp: Long

Creation type of the event as a unix timestamp