Package com.vonage.client.verify
Enum Class VerifyDetails.Status
- All Implemented Interfaces:
Serializable,Comparable<VerifyDetails.Status>,java.lang.constant.Constable
- Enclosing class:
VerifyDetails
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe verification process was cancelled by a Verify control request.Your user did not enter a code before the pin_expiry time elapsed.Your user entered an incorrect code more than three times.The search is still in progress.You supplied an invalidrequest_id, or the data is not available.Your user entered a correct verification code. -
Method Summary
Modifier and TypeMethodDescriptionstatic VerifyDetails.StatusfromString(String status) Look up the Status enum based on the string value.static VerifyDetails.StatusReturns the enum constant of this class with the specified name.static VerifyDetails.Status[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IN_PROGRESS
The search is still in progress. -
SUCCESS
Your user entered a correct verification code. -
FAILED
Your user entered an incorrect code more than three times. -
EXPIRED
Your user did not enter a code before the pin_expiry time elapsed. -
CANCELLED
The verification process was cancelled by a Verify control request. -
INVALID
You supplied an invalidrequest_id, or the data is not available. Note that for recently-completed requests, there can be a delay of up to 1 minute before the results are available in search.
-
-
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
-
fromString
Look up the Status enum based on the string value.- Parameters:
status- the status value to lookup.- Returns:
- VerifyStatus based on the int value given.
-
getStatus
-