CafFailureType enum
Enumerates possible failure scenarios emitted by CafFaceLiveness module.
Values
- unknown → const CafFailureType
-
const CafFailureType('UNKNOWN') - tooMuchMovement → const CafFailureType
-
const CafFailureType('TOO_MUCH_MOVEMENT') - tooBright → const CafFailureType
-
const CafFailureType('TOO_BRIGHT') - tooDark → const CafFailureType
-
const CafFailureType('TOO_DARK') - misalignedFace → const CafFailureType
-
const CafFailureType('MISALIGNED_FACE') - eyesClosed → const CafFailureType
-
const CafFailureType('EYES_CLOSED') - faceTooFar → const CafFailureType
-
const CafFailureType('FACE_TOO_FAR') - faceTooClose → const CafFailureType
-
const CafFailureType('FACE_TOO_CLOSE') - sunglasses → const CafFailureType
-
const CafFailureType('SUNGLASSES') - obscuredFace → const CafFailureType
-
const CafFailureType('OBSCURED_FACE') - multipleFaces → const CafFailureType
-
const CafFailureType('MULTIPLE_FACES')
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
- value → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromString(
String value) → CafFailureType
Constants
-
values
→ const List<
CafFailureType> - A constant List of the values in this enum, in order of their declaration.