DataMessage

data class DataMessage(val topic: String?, val payload: ByteArray, val participant: Participant?)

A representation of a message sent/received through LiveKit.

Constructors

Link copied to clipboard
constructor(topic: String?, payload: ByteArray, participant: Participant?)

Properties

Link copied to clipboard
val participant: Participant?

The participant associated with this message.

Link copied to clipboard

The payload of the data message.

Link copied to clipboard

The topic channel this message is sent through.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int