CameraFragmentListener

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

public interface CameraFragmentListener

Types

DocumentCheckResultCallback
Link copied to clipboard

Callback to inform the Gini Capture SDK about the outcome of the custom imported document checks.

interface DocumentCheckResultCallback

Functions

onCheckImportedDocument
Link copied to clipboard

This method is invoked for imported documents to allow custom validations.

Invoke one of the DocumentCheckResultCallback methods on the main thread to inform the Gini Capture SDK about the result.

Note: The Gini Capture SDK will wait until one of the DocumentCheckResultCallback methods are invoked.

onDocumentAvailable
Link copied to clipboard

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.

abstract void onDocumentAvailable(Document document)
onError
Link copied to clipboard

Called when an error occurred.

abstract void onError(GiniCaptureError error)
onExtractionsAvailable
Link copied to clipboard

Called after a QRCode was successfully analyzed.

abstract void onExtractionsAvailable(Map<String, GiniCaptureSpecificExtractionextractions)
onProceedToMultiPageReviewScreen
Link copied to clipboard

Inheritors

CameraActivity
Link copied to clipboard