public enum AccountType extends java.lang.Enum<AccountType>
| Enum Constant and Description |
|---|
BOT
An OAuth2 Bot which was created by an application
|
CLIENT
A User-Account which can be used via the official Discord Client
|
| Modifier and Type | Method and Description |
|---|---|
static AccountType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AccountType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccountType BOT
public static final AccountType CLIENT
public static AccountType[] values()
for (AccountType c : AccountType.values()) System.out.println(c);
public static AccountType 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