public static enum AccountCreator.Status extends java.lang.Enum<AccountCreator.Status>
Enum Constant and Description |
---|
AccountActivated
Account activated.
|
AccountAlreadyActivated
Account already activated.
|
AccountCreated
Account status.
|
AccountExist
Account exist.
|
AccountExistWithAlias
Account exist with alias.
|
AccountLinked
Account linked.
|
AccountNotActivated
Account not activated.
|
AccountNotCreated
Account not created.
|
AccountNotExist
Account not exist.
|
AccountNotLinked
Account not linked.
|
AlgoNotSupported
Error algo isn't MD5 or SHA-256.
|
AliasExist
Alias exist.
|
AliasIsAccount
Account was created with Alias.
|
AliasNotExist
Alias not exist.
|
MissingArguments
Request failed due to missing argument(s)
|
MissingCallbacks
Request failed due to missing callback(s)
|
PhoneNumberInvalid
Error cannot send SMS.
|
PhoneNumberOverused
Error too many SMS sent.
|
RequestFailed
Request failed.
|
RequestOk
Request status.
|
ServerError
Server.
|
UnexpectedError
Generic error.
|
WrongActivationCode
Error key doesn't match.
|
Modifier and Type | Field and Description |
---|---|
protected int |
mValue |
Modifier and Type | Method and Description |
---|---|
static AccountCreator.Status |
fromInt(int value) |
int |
toInt() |
static AccountCreator.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AccountCreator.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccountCreator.Status RequestOk
public static final AccountCreator.Status RequestFailed
public static final AccountCreator.Status MissingArguments
public static final AccountCreator.Status MissingCallbacks
public static final AccountCreator.Status AccountCreated
public static final AccountCreator.Status AccountNotCreated
public static final AccountCreator.Status AccountExist
public static final AccountCreator.Status AccountExistWithAlias
public static final AccountCreator.Status AccountNotExist
public static final AccountCreator.Status AliasIsAccount
public static final AccountCreator.Status AliasExist
public static final AccountCreator.Status AliasNotExist
public static final AccountCreator.Status AccountActivated
public static final AccountCreator.Status AccountAlreadyActivated
public static final AccountCreator.Status AccountNotActivated
public static final AccountCreator.Status AccountLinked
public static final AccountCreator.Status AccountNotLinked
public static final AccountCreator.Status ServerError
public static final AccountCreator.Status PhoneNumberInvalid
public static final AccountCreator.Status WrongActivationCode
public static final AccountCreator.Status PhoneNumberOverused
public static final AccountCreator.Status AlgoNotSupported
public static final AccountCreator.Status UnexpectedError
public static AccountCreator.Status[] values()
for (AccountCreator.Status c : AccountCreator.Status.values()) System.out.println(c);
public static AccountCreator.Status 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 static AccountCreator.Status fromInt(int value) throws java.lang.RuntimeException
java.lang.RuntimeException
public int toInt()