|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.smack.packet.RosterPacket.ItemType
public static class RosterPacket.ItemType
The subscription type of a roster item.
Field Summary | |
---|---|
static RosterPacket.ItemType |
BOTH
The user and subscriber have a mutual interest in each other's presence. |
static RosterPacket.ItemType |
FROM
The subscriber is interested in receiving presence updates from the user. |
static RosterPacket.ItemType |
NONE
The user and subscriber have no interest in each other's presence. |
static RosterPacket.ItemType |
REMOVE
The user wishes to stop receiving presence updates from the subscriber. |
static RosterPacket.ItemType |
TO
The user is interested in receiving presence updates from the subscriber. |
Constructor Summary | |
---|---|
RosterPacket.ItemType(String value)
Returns the item type associated with the specified string. |
Method Summary | |
---|---|
static RosterPacket.ItemType |
fromString(String value)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final RosterPacket.ItemType NONE
public static final RosterPacket.ItemType TO
public static final RosterPacket.ItemType FROM
public static final RosterPacket.ItemType BOTH
public static final RosterPacket.ItemType REMOVE
Constructor Detail |
---|
public RosterPacket.ItemType(String value)
value
- the item type.Method Detail |
---|
public static RosterPacket.ItemType fromString(String value)
public String toString()
toString
in class Object
|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |