GiniCaptureCoordinator

public class GiniCaptureCoordinator

The GiniCaptureCoordinator facilitates the default behavior for the Gini Capture 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 Capture Library. This can be achieved by calling the required methods at pre-defined points in your code and by implementing the GiniCaptureCoordinator.Listener.

Types

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

Functions

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