public class UserImpl extends Object implements User
| Modifier and Type | Field and Description |
|---|---|
protected Jitter |
jitter |
protected org.json.JSONObject |
json |
| Constructor and Description |
|---|
UserImpl(Jitter jitter,
org.json.JSONObject json) |
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
asJSON()
Gets the underlying JSON object.
|
String |
getDisplayName()
Gets this User's display name.
|
String |
getID()
Gets this User's ID.
|
Jitter |
getJitter()
Gets the providing
Jitter object. |
String |
getMediumAvatarURL()
Gets this User's medium-size avatar URL.
|
String |
getSmallAvatarURL()
Gets this User's small-size avatar URL.
|
String |
getURL()
Gets this User's URL.
|
String |
getUsername()
Gets this User's username.
|
Message |
sendMessage(String message)
Send this User a message.
|
String |
toString() |
protected final Jitter jitter
protected final org.json.JSONObject json
public UserImpl(Jitter jitter, org.json.JSONObject json)
public Jitter getJitter()
UserJitter object.public org.json.JSONObject asJSON()
Userpublic String getUsername()
UsergetUsername in interface Userpublic String getDisplayName()
UsergetDisplayName in interface Userpublic String getSmallAvatarURL()
UsergetSmallAvatarURL in interface Userpublic String getMediumAvatarURL()
UsergetMediumAvatarURL in interface UserCopyright © 2016. All rights reserved.