data class DataMessage
Data message received from server.
<init> |
Data message received from server. DataMessage(timestampMs: Long, topic: String, data: ByteArray, senderAttendeeId: String, senderExternalUserId: String, throttled: Boolean) |
data |
: ByteArray - Data payload val data: ByteArray |
senderAttendeeId |
val senderAttendeeId: String |
senderExternalUserId |
val senderExternalUserId: String |
throttled |
val throttled: Boolean |
timestampMs |
: Long - Monotonically increasing server ingest time val timestampMs: Long |
topic |
: String - Topic this message was sent on val topic: String |
fromJson |
Helper method to convert ByteArray data to object of given type fun <T> fromJson(clazz: Class<T>): T |
text |
Helper method to convert ByteArray data to String fun text(): String |