|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Presence
This interface is defined to represence a presence.
Field Summary | |
---|---|
static int |
PRESENCE_TYPE_GROUP
Constant represent a group presence type . |
static int |
PRESENCE_TYPE_SINGLE
Constant represent a singe presence type . |
static int |
PRESENCE_TYPE_UNKNOWN
Constant represent a unknown presence type . |
static int |
PRESENCE_TYPE_URI_LIST
Constant represent a URI list presence type . |
Method Summary | |
---|---|
java.lang.String |
getDisplayName()
Returns the display name of the presentity. |
java.lang.String |
getOriginalPresenceId()
Return the original case sensitive id of this Presence. |
java.lang.String |
getPresenceId()
Return the id of this Presence, case insensitive. |
int |
getType()
Return the type of this presence. |
boolean |
isGroup()
Return true if type is group, else return false |
boolean |
isSingle()
Return true if type is single, else return false |
boolean |
isUriList()
Return true if type is URI list, else return false |
void |
setDisplayName(java.lang.String displayName)
|
void |
setType(int type)
Set the type of this presence . |
Field Detail |
---|
static final int PRESENCE_TYPE_UNKNOWN
static final int PRESENCE_TYPE_SINGLE
static final int PRESENCE_TYPE_GROUP
static final int PRESENCE_TYPE_URI_LIST
Method Detail |
---|
int getType()
boolean isGroup()
boolean isSingle()
boolean isUriList()
void setType(int type)
type
- the type of this presence.java.lang.String getPresenceId()
java.lang.String getDisplayName()
void setDisplayName(java.lang.String displayName)
displayName
- java.lang.String getOriginalPresenceId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |