Package | Description |
---|---|
org.jivesoftware.smack |
Core classes of the Smack API.
|
org.jivesoftware.smack.util |
Utility classes.
|
org.jivesoftware.smackx.muc |
Classes and Interfaces that implement Multi-User Chat (MUC).
|
org.jivesoftware.smackx.workgroup.agent |
Modifier and Type | Method and Description |
---|---|
Presence |
Roster.getPresence(String user)
Returns the presence info for a particular user.
|
Presence |
Roster.getPresenceResource(String userWithResource)
Returns the presence info for a particular user's resource, or unavailable presence
if the user is offline or if no presence information is available, such as
when you are not subscribed to the user's presence updates.
|
Modifier and Type | Method and Description |
---|---|
List<Presence> |
Roster.getPresences(String user)
Returns a List of Presence objects for all of a user's current presences
or an unavailable presence if the user is unavailable (offline) or if no presence
information is available, such as when you are not subscribed to the user's presence
updates.
|
Modifier and Type | Method and Description |
---|---|
void |
XMPPConnection.disconnect(Presence unavailablePresence)
Closes the connection.
|
void |
RosterListener.presenceChanged(Presence presence)
Called when the presence of a roster entry is changed.
|
Modifier and Type | Method and Description |
---|---|
static Presence |
PacketParserUtils.parsePresence(org.xmlpull.v1.XmlPullParser parser)
Parses a presence packet.
|
Modifier and Type | Method and Description |
---|---|
Presence |
MultiUserChat.getOccupantPresence(String user)
Returns the presence info for a particular user, or null if the user
is not in the room.
|
Modifier and Type | Method and Description |
---|---|
Presence |
AgentRoster.getPresence(String user)
Returns the presence info for a particular agent, or null if the agent
is unavailable (offline) or if no presence information is available.
|
Modifier and Type | Method and Description |
---|---|
void |
AgentRosterListener.presenceChanged(Presence presence) |