Camera Fragment Listener
public interface CameraFragmentListener
Content copied to clipboard
Interface used by CameraFragmentStandard and CameraFragmentCompat to dispatch events to the hosting Activity.
Types
Document Check Result Callback
Link copied to clipboard
public interface DocumentCheckResultCallback
Content copied to clipboard
Callback to inform the Gini Vision Library about the outcome of the custom imported document checks.
Functions
on Check Imported Document
Link copied to clipboard
abstract void onCheckImportedDocument(@NonNull() Document document, @NonNull() CameraFragmentListener.DocumentCheckResultCallback callback)
Content copied to clipboard
This method is invoked for imported documents to allow custom validations.
on Document Available
Link copied to clipboard
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.
on Error
Link copied to clipboard
Called when an error occurred.
on Extractions Available
Link copied to clipboard
abstract void onExtractionsAvailable(@NonNull() Map<String, GiniVisionSpecificExtraction> extractions)
Content copied to clipboard
Called after a QRCode was successfully analyzed.
on Proceed To Multi Page Review Screen
Link copied to clipboard
abstract void onProceedToMultiPageReviewScreen(@NonNull() GiniVisionMultiPageDocument multiPageDocument)
Content copied to clipboard
on QRCode Available
Link copied to clipboard
@Deprecated()
Content copied to clipboard
Called when the user clicked the QR Code detected popup.
Inheritors
CameraActivity
Link copied to clipboard