ClientContext

Context for one or multiple IPC related calls. For example, for multiple calls that serve a single user utterance, if the client was a voice assistant app.

A single object of this class can and should serve multiple IPC calls, if they are all made in the same context. But it is not supposed to be too long-lived, since for now it keeps all the added entries forever.

Parameters

id

unique identification of a context. Must be unique for 1 specific context. In this specific context add must be called to add new entries.

Constructors

Link copied to clipboard
constructor(id: String)

Properties

Link copied to clipboard
val id: String

Functions

Link copied to clipboard
fun add(entry: String)

Adds new entries to this context.