public class RoomMentionEventImpl extends Object implements RoomMentionEvent
| Constructor and Description |
|---|
RoomMentionEventImpl(Jitter jitter,
Room room,
int mentions,
org.json.JSONObject json) |
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
asJSON()
Gets the underlying JSON object.
|
Jitter |
getJitter()
Gets the providing
Jitter object. |
int |
getMentions()
Gets the number of mentions, can be 0 indicating all mentions have been read.
|
Room |
getRoom()
Gets the room in which this event occurred.
|
public Jitter getJitter()
JitterEventJitter object.getJitter in interface JitterEventpublic org.json.JSONObject asJSON()
RoomMentionEventasJSON in interface RoomMentionEventpublic Room getRoom()
RoomMentionEventgetRoom in interface RoomMentionEventpublic int getMentions()
RoomMentionEventgetMentions in interface RoomMentionEventCopyright © 2016. All rights reserved.