RFSLivenessErrorCode

Objective-C

enum RFSLivenessErrorCode : NSInteger {}

Swift

typealias LivenessError.Code._ErrorType = LivenessError

Error codes for the RFSLivenessResponse errors.

  • Liveness not initialized.

    Declaration

    Objective-C

    RFSLivenessErrorNotInitialized

    Swift

    case notInitialized = 0
  • There is no valid license on the service.

    Declaration

    Objective-C

    RFSLivenessErrorNoLicense

    Swift

    case noLicense = 1
  • Liveness API call failed due to networking error or backend internal error.

    Declaration

    Objective-C

    RFSLivenessErrorAPICallFailed

    Swift

    case apiCallFailed = 2
  • Declaration

    Objective-C

    RFSLivenessErrorSessionStartFailed

    Swift

    case sessionStartFailed = 3
  • User cancelled liveness processing.

    Declaration

    Objective-C

    RFSLivenessErrorCancelled

    Swift

    case cancelled = 4
  • Processing finished by timeout.

    Declaration

    Objective-C

    RFSLivenessErrorProcessingTimeout

    Swift

    case processingTimeout = 5
  • Processing failed. Liveness service received the attempt but it failed to pass validation.

    Declaration

    Objective-C

    RFSLivenessErrorProcessingFailed

    Swift

    case processingFailed = 6
  • Declaration

    Objective-C

    RFSLivenessErrorProcessingFrameFailed

    Swift

    case processingFrameFailed = 7
  • Client application did enter the background, liveness process interrupted.

    Declaration

    Objective-C

    RFSLivenessErrorApplicationInactive

    Swift

    case applicationInactive = 8
  • Camera not available, check premissions.

    Declaration

    Objective-C

    RFSLivenessErrorCameraNotAvailable

    Swift

    case cameraNotAvailable = 9