public final class ClientPresence extends Presence
The implementation of the <presence/>
element in the jabber:client
namespace.
Presence.Show, Presence.Type
Modifier and Type | Method and Description |
---|---|
static ClientPresence |
from(Presence p)
Creates a presence for the
jabber:client namespace from a generic presence. |
compareTo, createError, createError, getPriority, getShow, getStatus, getStatuses, getType, isAvailable, setPriority, setShow, setStatus, setType, toString
addExtension, addExtensions, addExtensions, getExtensions, getExtensions, putExtension, removeExtension
getError, getExtension, getFrom, getId, getLanguage, getTo, hasExtension, isToItselfOrServer, setError, setFrom, setId, setLanguage, setTo
public static ClientPresence from(Presence p)
Creates a presence for the jabber:client
namespace from a generic presence.
p
- The presence.Copyright © 2014–2019 XMPP.rocks. All rights reserved.