public enum LoginStatus extends Enum<LoginStatus>
| Enum Constant and Description |
|---|
ALREADYLOGGED |
BOTLOGIN |
BOTLOGINERROR |
CODESENT |
ERRORSENDINGCODE |
INVALIDPHONENUMBER |
UNEXPECTEDERROR |
| Modifier and Type | Method and Description |
|---|---|
static LoginStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoginStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoginStatus CODESENT
public static final LoginStatus ALREADYLOGGED
public static final LoginStatus ERRORSENDINGCODE
public static final LoginStatus UNEXPECTEDERROR
public static final LoginStatus INVALIDPHONENUMBER
public static final LoginStatus BOTLOGIN
public static final LoginStatus BOTLOGINERROR
public static LoginStatus[] values()
for (LoginStatus c : LoginStatus.values()) System.out.println(c);
public static LoginStatus 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 © 2017. All rights reserved.