1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-29 09:42:06 +01:00

Improve RosterPacket.ItemType javadoc

This commit is contained in:
Florian Schmaus 2015-01-19 16:12:16 +01:00
parent 1f59a755d8
commit 8c9b3d5c62

View file

@ -313,22 +313,27 @@ public class RosterPacket extends IQ {
public static enum ItemType { public static enum ItemType {
/** /**
* The user and subscriber have no interest in each other's presence. * The user does not have a subscription to the contact's presence, and the contact does not
* have a subscription to the user's presence; this is the default value, so if the
* subscription attribute is not included then the state is to be understood as "none".
*/ */
none, none,
/** /**
* The user is interested in receiving presence updates from the subscriber. * The user has a subscription to the contact's presence, but the contact does not have a
* subscription to the user's presence.
*/ */
to, to,
/** /**
* The subscriber is interested in receiving presence updates from the user. * The contact has a subscription to the user's presence, but the user does not have a
* subscription to the contact's presence.
*/ */
from, from,
/** /**
* The user and subscriber have a mutual interest in each other's presence. * The user and the contact have subscriptions to each other's presence (also called a
* "mutual subscription").
*/ */
both, both,