CameraFragmentListener

public interface CameraFragmentListener

Interface used by CameraFragmentCompat to dispatch events to the hosting Activity.

Types

DocumentCheckResultCallback
Link copied to clipboard
public interface DocumentCheckResultCallback
Callback to inform the Gini Capture SDK about the outcome of the custom imported document checks.

Functions

onCheckImportedDocument
Link copied to clipboard
abstract void onCheckImportedDocument(@NonNull() Document document, @NonNull() CameraFragmentListener.DocumentCheckResultCallback callback)
This method is invoked for imported documents to allow custom validations.
onDocumentAvailable
Link copied to clipboard
abstract void onDocumentAvailable(@NonNull() Document document)
Called when the user has taken an image with the camera or has imported a document that passed the Gini Capture SDK's validation and any custom checks that were implemented.
onError
Link copied to clipboard
abstract void onError(@NonNull() GiniCaptureError error)
Called when an error occurred.
onExtractionsAvailable
Link copied to clipboard
abstract void onExtractionsAvailable(@NonNull() Map<String, GiniCaptureSpecificExtraction> extractions)
Called after a QRCode was successfully analyzed.
onProceedToMultiPageReviewScreen
Link copied to clipboard
abstract void onProceedToMultiPageReviewScreen(@NonNull() GiniCaptureMultiPageDocument multiPageDocument)

Inheritors

CameraActivity
Link copied to clipboard