RFSLivenessErrorCode
Objective-C
enum RFSLivenessErrorCode : NSInteger {}
Swift
typealias LivenessError.Code._ErrorType = LivenessError
Error codes for the RFSLivenessResponse
errors.
-
User cancelled liveness processing.
Declaration
Objective-C
RFSLivenessErrorCancelled
Swift
case cancelled = 0
-
Processing finished by timeout.
Declaration
Objective-C
RFSLivenessErrorProcessingTimeout
Swift
case processingTimeout = 1
-
Processing failed. Liveness service received the attempt but it failed to pass validation.
Declaration
Objective-C
RFSLivenessErrorProcessingFailed
Swift
case processingFailed = 2
-
Liveness API call failed due to networking error or backend internal error.
Declaration
Objective-C
RFSLivenessErrorAPICallFailed
Swift
case apiCallFailed = 3
-
There is no valid license on the service.
Declaration
Objective-C
RFSLivenessErrorNoLicense
Swift
case noLicense = 4
-
Liveness not initialized
Declaration
Objective-C
RFSLivenessErrorInitializationFailed
Swift
case initializationFailed = 5