public static enum QBPrivacyListItem.Type extends java.lang.Enum<QBPrivacyListItem.Type>
Enum Constant and Description |
---|
GROUP
Not supported
|
GROUP_USER_ID
Type to block a realtime communication in any group chat with this user.
|
SUBSCRIPTION
Not supported
|
USER_ID
Type to block a communication in 1-1 chat
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
generateValueForType(java.lang.String value)
Generates the value for the type.
|
static QBPrivacyListItem.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QBPrivacyListItem.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QBPrivacyListItem.Type USER_ID
public static final QBPrivacyListItem.Type GROUP_USER_ID
public static final QBPrivacyListItem.Type GROUP
public static final QBPrivacyListItem.Type SUBSCRIPTION
public static QBPrivacyListItem.Type[] values()
for (QBPrivacyListItem.Type c : QBPrivacyListItem.Type.values()) System.out.println(c);
public static QBPrivacyListItem.Type 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 nullpublic java.lang.String generateValueForType(java.lang.String value)