public interface RoomEvent extends JitterEvent
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
asJSON()
Gets the underlying JSON object.
|
String |
getAction()
Gets the action that the event describes.
|
Optional<Date> |
getEditTimestamp()
Gets the date when this event was edited.
|
String |
getHTML()
Gets the HTML representation of the event.
|
String |
getID()
Gets the event's ID.
|
org.json.JSONObject |
getMetadata()
Gets the JSON object describing this event's metadata.
|
org.json.JSONObject |
getPayload()
Gets the JSON object describing this event's payload.
|
Room |
getRoom()
Gets the room in which this event occurred.
|
Date |
getSentTimestamp()
Gets the date when this event was sent.
|
String |
getService()
Gets the name of the service that called the event.
|
String |
getText()
Gets the text representation of the event.
|
Optional<User> |
getUser()
Gets the user that triggered the event.
|
int |
getVersion()
Gets this event's version.
|
getJitterorg.json.JSONObject asJSON()
String getID()
String getService()
String getAction()
String getText()
String getHTML()
Room getRoom()
Date getSentTimestamp()
Optional<Date> getEditTimestamp()
Optional<User> getUser()
org.json.JSONObject getMetadata()
org.json.JSONObject getPayload()
int getVersion()
Copyright © 2016. All rights reserved.