RFSLivenessErrorCode
Objective-C
enum RFSLivenessErrorCode : NSInteger {}
Swift
typealias LivenessError.Code._ErrorType = LivenessError
Error codes for the RFSLivenessResponse errors.
-
Liveness not initialized.
Declaration
Objective-C
RFSLivenessErrorNotInitializedSwift
case notInitialized = 0 -
There is no valid license on the service.
Declaration
Objective-C
RFSLivenessErrorNoLicenseSwift
case noLicense = 1 -
Liveness API call failed due to networking error or backend internal error.
Declaration
Objective-C
RFSLivenessErrorAPICallFailedSwift
case apiCallFailed = 2 -
Failed when Core could not start new session.
Declaration
Objective-C
RFSLivenessErrorSessionStartFailedSwift
case sessionStartFailed = 3 -
User cancelled liveness processing.
Declaration
Objective-C
RFSLivenessErrorCancelledSwift
case cancelled = 4 -
Processing finished by timeout.
Declaration
Objective-C
RFSLivenessErrorProcessingTimeoutSwift
case processingTimeout = 5 -
Processing failed. Liveness service received the attempt but it failed to pass validation.
Declaration
Objective-C
RFSLivenessErrorProcessingFailedSwift
case processingFailed = 6 -
Failed when Core cannot recognize frame.
Declaration
Objective-C
RFSLivenessErrorProcessingFrameFailedSwift
case processingFrameFailed = 7 -
Client application did enter the background, liveness process interrupted.
Declaration
Objective-C
RFSLivenessErrorApplicationInactiveSwift
case applicationInactive = 8 -
Camera not available.
Declaration
Objective-C
RFSLivenessErrorCameraNotAvailableSwift
case cameraNotAvailable = 9 -
Camera not available due denied permission.
Declaration
Objective-C
RFSLivenessErrorCameraHasNoPermissionSwift
case cameraHasNoPermission = 10