FaceLivenessFailureReason

enum FaceLivenessFailureReason : UInt, @unchecked Sendable

Reasons for failure of the liveness analysis.

  • Indicates no failure.

    Declaration

    Swift

    case none = 0
  • Indicates mouth region is not visible

    Declaration

    Swift

    case faceMouthRegionNotVisible = 1
  • Indicates eye region is not visible

    Declaration

    Swift

    case faceEyeRegionNotVisible = 2
  • Indicates image is too blurry

    Declaration

    Swift

    case excessiveImageBlurDetected = 3
  • Indicates image is too bright

    Declaration

    Swift

    case excessiveFaceBrightness = 4
  • Indicates a mask has been detected

    Declaration

    Swift

    case faceWithMaskDetected = 5
  • Indicates a liveness cannot be performed.

    Declaration

    Swift

    case actionNotPerformed = 6
  • Indicates a timeout failure

    Declaration

    Swift

    case timedOut = 7
  • Indicates environment not supported failure

    Declaration

    Swift

    case environmentNotSupported = 8
  • Indicates face tracking failure

    Declaration

    Swift

    case faceTrackingFailed = 9
  • Indicates service response code between 401 and 409 is returned

    Declaration

    Swift

    case unexpectedClientError = 10
  • Indicates service response code equal to or greater than 500 is returned

    Declaration

    Swift

    case unexpectedServerError = 11
  • Indicates unexpected service response code is returned

    Declaration

    Swift

    case unexpected = 12