SelfieValidationErrorEnum enum

All possible errors that can occur during a LiveSelfie validation.

Inheritance
Available extensions

Values

imageNotGoodEnough → const SelfieValidationErrorEnum

The image did not have enough quality to run the validation.

noFaceDetected → const SelfieValidationErrorEnum

No face was detected in the image.

tooManyFaces → const SelfieValidationErrorEnum

There were more than one face in the image.

tiltedFace → const SelfieValidationErrorEnum

The face did not have a neutral pose, i.e. the face was not looking towards the camera.

wearingHat → const SelfieValidationErrorEnum

The detected face was wearing headwear.

wearingGlasses → const SelfieValidationErrorEnum

The detected face was wearing a mask.

wearingReadingGlasses → const SelfieValidationErrorEnum

The detected face was wearing reading glasses.

Note: this is an optional validation and needs to be activated in the account configuration.

wearingMask → const SelfieValidationErrorEnum

The detected face was wearing a mask.

faceNotCentered → const SelfieValidationErrorEnum

The detected face was not centered in the image.

faceTooFar → const SelfieValidationErrorEnum

The detected face was too far from the camera.

faceIsSmiling → const SelfieValidationErrorEnum

The detected face was smiling.

Note: this is an optional validation and needs to be activated in the account configuration.

faceTooClose → const SelfieValidationErrorEnum

The detected face was too close to the camera.

faceTooBright → const SelfieValidationErrorEnum

The detected face's luminance was too high.

faceTooDark → const SelfieValidationErrorEnum

The detected face's luminance was too low.

facesDoNotMatch → const SelfieValidationErrorEnum

The detected faces did not pass the facematch test.

biometricValidationError → const SelfieValidationErrorEnum

There was some inconsistency in biometric validation.

livenessNotOk → const SelfieValidationErrorEnum

There was some inconsistency in liveness validation.

unknownError → const SelfieValidationErrorEnum

An unknown error occurred during validation.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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 setterinherited

Methods

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<SelfieValidationErrorEnum>
A constant List of the values in this enum, in order of their declaration.