|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.realtime.xmpp.types.Presence
Provide presence code information.
Field Summary | |
static Presence |
AWAY
|
static Presence |
CHAT
|
static Presence |
DND
|
protected PresenceShow |
m_show
The standard show code. |
protected java.lang.String |
m_sStatus
The description. |
static Presence |
XA
|
Constructor Summary | |
Presence(PresenceShow show,
java.lang.String sStatus)
Create a presence code. |
Method Summary | |
PresenceShow |
getShow()
Provide the standardized show code. |
java.lang.String |
getStatus()
Provide a descriptive text. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected PresenceShow m_show
protected java.lang.String m_sStatus
public static final Presence AWAY
public static final Presence CHAT
public static final Presence XA
public static final Presence DND
Constructor Detail |
public Presence(PresenceShow show, java.lang.String sStatus)
Create a presence code.
show
- The value of the show field.sStatus
- Detailed information.Method Detail |
public PresenceShow getShow()
Provide the standardized show code.
* @return The standard show code. One of away, dnd, xa, and chat.
public java.lang.String getStatus()
Provide a descriptive text.
* @return String
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |