RFSFaceCaptureErrorCode
Objective-C
enum RFSFaceCaptureErrorCode : NSInteger {}
Swift
typealias FaceCaptureError.Code._ErrorType = FaceCaptureError
Error codes for the RFSFaceCaptureResponse
errors.
-
User cancelled capture face processing
Declaration
Objective-C
RFSFaceCaptureErrorCancelled
Swift
case cancelled = 0
-
Processing finished by timeout
Declaration
Objective-C
RFSFaceCaptureErrorProcessingTimeout
Swift
case processingTimeout = 1
-
FaceSDK Core is not initialized
Declaration
Objective-C
RFSFaceCaptureErrorInitializationFailed
Swift
case initializationFailed = 2
-
Failed when Core could not start new session
Declaration
Objective-C
RFSFaceCaptureErrorSessionStartFailed
Swift
case sessionStartFailed = 3
-
Device has no available camera
Declaration
Objective-C
RFSFaceCaptureErrorCameraNotAvailable
Swift
case cameraNotAvailable = 4
-
Application does not have camera permission
Declaration
Objective-C
RFSFaceCaptureErrorCameraHasNoPermission
Swift
case cameraHasNoPermission = 5