Error Handling
In the event of an error, it will be provided in the callback on SelfieCapturePresenter
.
Selfie Capture Error Codes
Error Code |
Message |
---|---|
cameraPermissionNotGranted |
Provided when camera permission has not been given by the user. This is a fatal error and the SDK will not function without camera permission. |
couldNotInitiateCameraSession |
Occurs when a camera session could not be initialized. Check if permissions are granted. |
controllerNotInViewHierarchy |
The scan UIViewController has not been presented. Please add the scan controller to your view hierarchy before calling present. |
couldNotOpenCameraInSimulator |
Camera related actions can’t be accessed in simulator. |
pipelineProcessingError |
Pipeline had an internal processing error of some kind. |