Package com.regula.facesdk.enums
Enum Class FaceCaptureErrorCode
- All Implemented Interfaces:
Serializable
,Comparable<FaceCaptureErrorCode>
,Constable
Error codes for the FaceCaptureResponse errors.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionApplication does not have camera permission.Device has no available camera.User cancelled capture face processing.Application context is nullCapture process already in progressFaceSDK Core is not initializedFailed when Core could not start new sessionProcessing finished by timeout. -
Method Summary
Modifier and TypeMethodDescriptionstatic FaceCaptureErrorCode
Returns the enum constant of this class with the specified name.static FaceCaptureErrorCode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CANCEL
User cancelled capture face processing. -
TIMEOUT
Processing finished by timeout. -
NOT_INITIALIZED
FaceSDK Core is not initialized -
SESSION_START_FAILED
Failed when Core could not start new session -
CAMERA_NOT_AVAILABLE
Device has no available camera. -
CAMERA_NO_PERMISSION
Application does not have camera permission. -
IN_PROGRESS_ALREADY
Capture process already in progress -
CONTEXT_IS_NULL
Application context is null
-
-
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
-