java.io.Serializable
, java.lang.Comparable<Guild.VerificationLevel>
public static enum Guild.VerificationLevel extends java.lang.Enum<Guild.VerificationLevel>
None -> everyone can talk.
Low -> verified email required.
Medium -> you have to be member of discord for at least 5min.
High -> you have to be member of this guild for at least 10min.
Very High -> you must have a verified phone on your discord account.
Enum Constant | Description |
---|---|
HIGH |
|
LOW |
|
MEDIUM |
|
NONE |
|
UNKNOWN |
|
VERY_HIGH |
Modifier and Type | Method | Description |
---|---|---|
static Guild.VerificationLevel |
fromKey(int key) |
Used to retrieve a
VerificationLevel based
on the Discord id key. |
int |
getKey() |
The Discord id key for this Verification Level.
|
static Guild.VerificationLevel |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Guild.VerificationLevel[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Guild.VerificationLevel NONE
public static final Guild.VerificationLevel LOW
public static final Guild.VerificationLevel MEDIUM
public static final Guild.VerificationLevel HIGH
public static final Guild.VerificationLevel VERY_HIGH
public static final Guild.VerificationLevel UNKNOWN
public static Guild.VerificationLevel[] values()
for (Guild.VerificationLevel c : Guild.VerificationLevel.values()) System.out.println(c);
public static Guild.VerificationLevel 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 int getKey()
public static Guild.VerificationLevel fromKey(int key)
VerificationLevel
based
on the Discord id key.key
- The Discord id key representing the requested VerificationLevel.VerificationLevel.UNKNOWN
if the key is not recognized.