-
public final class DataMessageA representation of a message sent/received through LiveKit.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringtopicprivate final ByteArraypayloadprivate final Participantparticipant
-
Constructor Summary
Constructors Constructor Description DataMessage(String topic, ByteArray payload, Participant participant)
-
Method Summary
Modifier and Type Method Description final StringgetTopic()The topic channel this message is sent through. final ByteArraygetPayload()The payload of the data message. final ParticipantgetParticipant()The participant associated with this message. Booleanequals(Object other)IntegerhashCode()-
-
Method Detail
-
getPayload
final ByteArray getPayload()
The payload of the data message.
-
getParticipant
final Participant getParticipant()
The participant associated with this message.
-
-
-
-