1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-16 01:02:06 +01:00

Add javadoc to Presence.priority

This commit is contained in:
Florian Schmaus 2017-11-21 21:04:13 +01:00
parent 9e11b68144
commit 4775f350ae

View file

@ -66,7 +66,15 @@ public final class Presence extends Stanza implements TypedCloneable<Presence> {
private Type type = Type.available; private Type type = Type.available;
private String status = null; private String status = null;
/**
* The priority of the presence. The magic value {@link Integer#MIN_VALUE} is used to indicate that the original
* presence stanza did not had an explicit priority set. In which case the priority defaults to 0.
*
* @see <a href="https://tools.ietf.org/html/rfc6121#section-4.7.2.3">RFC 6121 § 4.7.2.3.</a>
*/
private int priority = Integer.MIN_VALUE; private int priority = Integer.MIN_VALUE;
private Mode mode = null; private Mode mode = null;
/** /**