# LivenessCheckError enum

Enumeration of all possible liveness check error types.

These error types are used throughout the liveness check process to categorize and handle different failure scenarios.

Inheritance
  - Object
  - Enum
  - LivenessCheckError
Available extensions
  - EnumName
  - LivenessCheckErrorExtension

## Values

cameraPermissionDenied → const LivenessCheckError

  Camera permission was denied by the user.

cameraInitializationFailed → const LivenessCheckError

  Failed to initialize the camera hardware.

noFaceDetected → const LivenessCheckError

  No face detected in the camera frame.

multipleFacesDetected → const LivenessCheckError

  Multiple faces detected when only one is expected.

imageBlurry → const LivenessCheckError

  Image quality is too blurry for detection.

faceNotClear → const LivenessCheckError

  Face features are not clear enough.

moveCloserToCamera → const LivenessCheckError

  User needs to move closer to the camera.

poorLighting → const LivenessCheckError

  Lighting conditions are inadequate.

photoCaptureFailed → const LivenessCheckError

  Failed to capture photo after liveness check.

processingTimeout → const LivenessCheckError

  Processing took too long and timed out.

eyesClosed → const LivenessCheckError

  Eyes are closed when they should be open.

unknownError → const LivenessCheckError

  An unknown or unexpected error occurred.

## Properties

hashCode → int
  The hash code for this object.
  no setter inherited
index → int
  A numeric identifier for the enumerated value.
  no setter inherited
name → String

  Available on Enum, provided by the EnumName extension

  The name of the enum value.
  no setter
runtimeType → Type
  A representation of the runtime type of the object.
  no setter inherited

## Methods

getCustomMessage(dynamic messages) → String

  Available on LivenessCheckError, provided by the LivenessCheckErrorExtension extension

  Returns a custom error message from the provided `messages` configuration.
getDefaultMessage() → String

  Available on LivenessCheckError, provided by the LivenessCheckErrorExtension extension

  Returns the default error message for this error type.
noSuchMethod(Invocation invocation) → dynamic
  Invoked when a nonexistent method or property is accessed.
  inherited
toString() → String
  A string representation of this object.
  inherited

## Operators

operator ==(Object other) → bool
  The equality operator.
  inherited

## Constants

values → const List<LivenessCheckError>
  A constant List of the values in this enum, in order of their declaration.