Package org.linphone.core
Enum Class AccountCreator.Status
- All Implemented Interfaces:
Serializable
,Comparable<AccountCreator.Status>
,Constable
- Enclosing interface:
- AccountCreator
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAccount activated.Account already activated.Account status.Account exist.Account exist with alias.Account linked.Account not activated.Account not created.Account not exist.Account not linked.Error algo isn't MD5 or SHA-256.Alias exist.Account was created with Alias.Alias not exist.Request failed due to missing argument(s)
Request failed due to missing callback(s)
This API isn't implemented in the current backend.Error cannot send SMS.Error too many SMS sent.Request failed.Request has been denied, probably due to invalid auth token.Request status.Request has been denied, due to too many requests sent in given period.Server.Generic error.Error key doesn't match. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AccountCreator.Status
fromInt
(int value) int
toInt()
static AccountCreator.Status
Returns the enum constant of this class with the specified name.static AccountCreator.Status[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RequestOk
Request status.
Request passed -
RequestFailed
Request failed.
-
MissingArguments
Request failed due to missing argument(s)
-
MissingCallbacks
Request failed due to missing callback(s)
-
AccountCreated
Account status.
Account created -
AccountNotCreated
Account not created.
-
AccountExist
Account exist.
-
AccountExistWithAlias
Account exist with alias.
-
AccountNotExist
Account not exist.
-
AliasIsAccount
Account was created with Alias.
-
AliasExist
Alias exist.
-
AliasNotExist
Alias not exist.
-
AccountActivated
Account activated.
-
AccountAlreadyActivated
Account already activated.
-
AccountNotActivated
Account not activated.
-
AccountLinked
Account linked.
-
AccountNotLinked
Account not linked.
-
ServerError
Server.
Error server -
PhoneNumberInvalid
Error cannot send SMS.
-
WrongActivationCode
Error key doesn't match.
-
PhoneNumberOverused
Error too many SMS sent.
-
AlgoNotSupported
Error algo isn't MD5 or SHA-256.
-
UnexpectedError
Generic error.
-
NotImplementedError
This API isn't implemented in the current backend.
-
RequestNotAuthorized
Request has been denied, probably due to invalid auth token.
-
RequestTooManyRequests
Request has been denied, due to too many requests sent in given period.
-
-
Field Details
-
mValue
protected final int mValue
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
fromInt
- Throws:
RuntimeException
-
toInt
public int toInt()
-