public class UserPresenceEventImpl extends Object implements UserPresenceEvent
| Constructor and Description |
|---|
UserPresenceEventImpl(Jitter jitter,
Room room,
org.json.JSONObject object) |
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
asJSON()
Gets the underlying JSON object.
|
Jitter |
getJitter()
Gets the providing
Jitter object. |
Room |
getRoom()
Gets the room that the user started/stopped watching.
|
String |
getUserID()
Gets the user ID of who is watching.
|
boolean |
isIncoming()
Gets whether or not the user has just started watching.
|
public Jitter getJitter()
JitterEventJitter object.getJitter in interface JitterEventpublic org.json.JSONObject asJSON()
UserPresenceEventasJSON in interface UserPresenceEventpublic Room getRoom()
UserPresenceEventgetRoom in interface UserPresenceEventpublic String getUserID()
UserPresenceEventgetUserID in interface UserPresenceEventpublic boolean isIncoming()
UserPresenceEventisIncoming in interface UserPresenceEventCopyright © 2016. All rights reserved.