GiniVisionCoordinator

public class GiniVisionCoordinator

The GiniVisionCoordinator facilitates the default behavior for the Gini Vision Library.

You can ignore this class when using the Screen API.

If you use the Component API we recommend relying on this class to provide the default behavior of the Gini Vision Library. This can be achieved by calling the required methods at pre-defined points in your code and by implementing the GiniVisionCoordinator.Listener.

Types

Listener
Link copied to clipboard
public interface Listener
Interface for the GiniVisionCoordinator to dispatch events.

Functions

createInstance
Link copied to clipboard
static GiniVisionCoordinator createInstance(Context context)
Factory method to create and configure a GiniVisionCoordinator instance.
onCameraStarted
Link copied to clipboard
void onCameraStarted()
Call this method when the CameraFragmentStandard or CameraFragmentCompat has started.
setListener
Link copied to clipboard
Listener for handling events from the GiniVisionCoordinator to provide the default behavior.
setShowOnboardingAtFirstRun
Link copied to clipboard
GiniVisionCoordinator setShowOnboardingAtFirstRun(boolean showOnboardingAtFirstRun)
Enable or disable showing the Onboarding Screen once per installation the first time the Camera Screen is started.
shouldShowGiniVisionNoResultsScreen
Link copied to clipboard
static boolean shouldShowGiniVisionNoResultsScreen(Document document)