-
public final class RoomEvent.DataReceived extends RoomEvent
Received data published by another participant
-
-
Field Summary
Fields Modifier and Type Field Description private final ByteArraydataprivate final RemoteParticipantparticipantprivate final Stringtopicprivate final LivekitModels.Encryption.TypeencryptionTypeprivate final Roomroom
-
Constructor Summary
Constructors Constructor Description RoomEvent.DataReceived(Room room, ByteArray data, RemoteParticipant participant, String topic, LivekitModels.Encryption.Type encryptionType)
-
Method Summary
Modifier and Type Method Description final ByteArraygetData()final RemoteParticipantgetParticipant()final StringgetTopic()final LivekitModels.Encryption.TypegetEncryptionType()final RoomgetRoom()-
-
Constructor Detail
-
RoomEvent.DataReceived
RoomEvent.DataReceived(Room room, ByteArray data, RemoteParticipant participant, String topic, LivekitModels.Encryption.Type encryptionType)
- Parameters:
data- the published dataparticipant- the participant if available
-
-
Method Detail
-
getParticipant
final RemoteParticipant getParticipant()
-
getEncryptionType
final LivekitModels.Encryption.Type getEncryptionType()
-
-
-
-