public enum AuthenticationCancelReason extends java.lang.Enum<AuthenticationCancelReason>
Enum Constant and Description |
---|
ERROR_BAD_ANGLE
The user held the phone in a bad angle and should adjust it to eye level
|
ERROR_BAD_LIGHTNING
The lightning was bad, the user should avoid strong back lightning and darkness
|
ERROR_GENERIC
A generic error occured
|
NOT_AVAILABLE
No cancel reason is available
|
USER_BACK
The user clicked on the hardware back button
|
USER_CANCEL
The user clicked on the cancel button
|
Modifier and Type | Method and Description |
---|---|
static AuthenticationCancelReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AuthenticationCancelReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthenticationCancelReason ERROR_GENERIC
public static final AuthenticationCancelReason ERROR_BAD_ANGLE
public static final AuthenticationCancelReason ERROR_BAD_LIGHTNING
public static final AuthenticationCancelReason USER_CANCEL
public static final AuthenticationCancelReason USER_BACK
public static final AuthenticationCancelReason NOT_AVAILABLE
public static AuthenticationCancelReason[] values()
for (AuthenticationCancelReason c : AuthenticationCancelReason.values()) System.out.println(c);
public static AuthenticationCancelReason 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© Jumio Corp. 268 Lambert Avenue, Palo Alto, CA 94306
The source code and software available on this website (“Software”) is provided by Jumio Corp. or its affiliated group
companies (“Jumio”) "as is” and any express or implied warranties, including, but not limited to, the implied warranties of
merchantability and fitness for a particular purpose are disclaimed. In no event shall Jumio be liable for any direct, indirect,
incidental, special, exemplary, or consequential damages (including but not limited to procurement of substitute goods or
services, loss of use, data, profits, or business interruption) however caused and on any theory of liability, whether in contract,
strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this Software, even if advised of the
possibility of such damage. In any case, your use of this Software is subject to the terms and conditions that apply to your
contractual relationship with Jumio. As regards Jumio’s privacy practices, please see our privacy notice available here: Privacy Policy.