public final class Annotation extends java.lang.Object
The implementation of the
<storage/> element in the
This class is immutable.
Many modern IM clients offer functionality that enables users to make notes about items in their roster. This comes in handy if users don’t have meaningful information in their vCard or if you need to remember additional things related to a roster item.
This specification defines a protocol for storing annotations about a given set of entities. Its primary goal is to enable users to store some personal piece of information with their roster items.
Annotations are stored using server-side private XML storage (the ‘jabber:iq:private’ namespace).
|Modifier and Type||Class and Description|
Represents a note for a contact in the roster (roster item).
|Modifier and Type||Field and Description|
|Constructor and Description|
public static final java.lang.String NAMESPACE
public Annotation(java.util.Collection<Annotation.Note> notes)
public final java.util.List<Annotation.Note> getNotes()
Gets the roster notes.
Copyright © 2014–2019 XMPP.rocks. All rights reserved.