public final class Nickname extends Object
<nick/> element in the http://jabber.org/protocol/nick namespace.
A nickname is a global, memorable (but not necessarily unique) friendly or informal name chosen by the owner of a bare JID
<localpart@domain.tld>for the purpose of associating a distinctive mapping between the person's unique JID and non-unique nickname.
This class is immutable.In general, a user SHOULD include his or her nickname when establishing initial communication with a contact or group of contacts (i.e., the user has never been in communication with and does not have a prior relationship with the contact or group of contacts). Appropriate use cases therefore include:
- Presence subscription requests
- Message exchange
public static final String NAMESPACE
public Nickname(String value)
value - The actual nick name.Copyright © 2014–2015 XMPP.rocks. All rights reserved.