Chat

class Chat(localParticipant: LocalParticipant, dataHandler: DataHandler)

Chat state for sending messages through LiveKit.

Constructors

Link copied to clipboard
constructor(localParticipant: LocalParticipant, dataHandler: DataHandler)

Properties

Link copied to clipboard

Indicates if currently sending a chat message.

Link copied to clipboard

The log of all messages sent and received.

Link copied to clipboard

A hot flow emitting a ChatMessage for each individual message sent and received.

Functions

Link copied to clipboard
suspend fun send(message: String)

Send a message through LiveKit.