public static enum PrivacyRule.Type extends Enum<PrivacyRule.Type>
| Enum Constant and Description |
|---|
GROUP
Allows or blocks communication based on a user's roster group name.
|
JID
Allows or blocks communication based on a JID.
|
SUBSCRIPTION
Allows or blocks communication based on subscription.
|
| Modifier and Type | Method and Description |
|---|---|
static PrivacyRule.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrivacyRule.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrivacyRule.Type GROUP
public static final PrivacyRule.Type JID
public static final PrivacyRule.Type SUBSCRIPTION
public static PrivacyRule.Type[] values()
for (PrivacyRule.Type c : PrivacyRule.Type.values()) System.out.println(c);
public static PrivacyRule.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2014–2015 XMPP.rocks. All rights reserved.