Package com.regula.facesdk.enums
Enum Class LivenessErrorCode
- All Implemented Interfaces:
Serializable
,Comparable<LivenessErrorCode>
,Constable
Error codes for the LivenessResponse errors.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionLiveness API call failed due to networking error or backend internal error.Client application did enter the background, liveness process interrupted.Application does not have camera permission.Device has no available camera.User cancelled liveness processing.Application context is nullLiveness process already in progressThere is no valid license on the service.FaceSDK Core is not initializedProcessing failed.Failed when Core cannot recognize frameProcessing finished by timeout.Failed when Core could not start new sessionThe camera on the current device doesn't support zoom change -
Method Summary
Modifier and TypeMethodDescriptionstatic LivenessErrorCode
Returns the enum constant of this class with the specified name.static LivenessErrorCode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOT_INITIALIZED
FaceSDK Core is not initialized -
NO_LICENSE
There is no valid license on the service. -
API_CALL_FAILED
Liveness API call failed due to networking error or backend internal error. -
SESSION_START_FAILED
Failed when Core could not start new session -
CANCELLED
User cancelled liveness processing. -
PROCESSING_TIMEOUT
Processing finished by timeout. -
PROCESSING_FAILED
Processing failed. -
PROCESSING_FRAME_FAILED
Failed when Core cannot recognize frame -
APPLICATION_INACTIVE
Client application did enter the background, liveness process interrupted. -
CONTEXT_IS_NULL
Application context is null -
IN_PROGRESS_ALREADY
Liveness process already in progress -
ZOOM_NOT_SUPPORTED
The camera on the current device doesn't support zoom change -
CAMERA_NO_PERMISSION
Application does not have camera permission. -
CAMERA_NOT_AVAILABLE
Device has no available camera.
-
-
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
-