public static enum QBRoster.SubscriptionMode extends java.lang.Enum<QBRoster.SubscriptionMode>
Enum Constant and Description |
---|
manual
confirmation of subscription means that you allow other user to listen your updates,
but you won't listen his updates
|
mutual
confirmation of subscription means that you allow other user to listen your updates
and you automatically will be subscribed on his updates
|
Modifier and Type | Method and Description |
---|---|
static QBRoster.SubscriptionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QBRoster.SubscriptionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QBRoster.SubscriptionMode manual
public static final QBRoster.SubscriptionMode mutual
public static QBRoster.SubscriptionMode[] values()
for (QBRoster.SubscriptionMode c : QBRoster.SubscriptionMode.values()) System.out.println(c);
public static QBRoster.SubscriptionMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null