CameraFragmentListener

public interface CameraFragmentListener

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

Types

DocumentCheckResultCallback
Link copied to clipboard
public interface DocumentCheckResultCallback
Callback to inform the Gini Vision Library 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 Vision Library's validation and any custom checks that were implemented.
onError
Link copied to clipboard
abstract void onError(@NonNull() GiniVisionError error)
Called when an error occurred.
onExtractionsAvailable
Link copied to clipboard
abstract void onExtractionsAvailable(@NonNull() Map<String, GiniVisionSpecificExtraction> extractions)
Called after a QRCode was successfully analyzed.
onProceedToMultiPageReviewScreen
Link copied to clipboard
abstract void onProceedToMultiPageReviewScreen(@NonNull() GiniVisionMultiPageDocument multiPageDocument)
onQRCodeAvailable
Link copied to clipboard
abstract void onQRCodeAvailable(@NonNull() QRCodeDocument qrCodeDocument)
Called when the user clicked the QR Code detected popup.

Inheritors

CameraActivity
Link copied to clipboard