public final class Events extends Object
Modifier and Type | Method and Description |
---|---|
static List<Event> |
fromJsonData(com.google.gson.JsonArray events,
Room room)
Transforms the raw chat events to a list of event instances, with their corresponding data.
|
public static List<Event> fromJsonData(com.google.gson.JsonArray events, Room room)
events
- Raw chat events, as returned the the StackExchange chat websockets.room
- Room to return events from.