Package net. gini. android. capture. analysis
Contains the Activity and Fragments used for the Analysis Screen.
Screen API
The preferred way of adding network calls to the Gini Capture SDK is by creating a net.gini.android.capture.GiniCapture instance with a net.gini.android.capture.network.GiniCaptureNetworkService and a net.gini.android.capture.network.GiniCaptureNetworkApi implementation.
Component API
To use the Component API you have to include the net.gini.android.capture.analysis.AnalysisFragmentCompat in an Activity in your app (a dedicated Activity is recommended). To receive events from the Fragments your Activity must implement the net.gini.android.capture.analysis.AnalysisFragmentListener interface.
Types
Link copied to clipboard
public class AnalysisActivity extends AppCompatActivity implements AnalysisFragmentListener, AnalysisFragmentInterface
Content copied to clipboard
Screen API When you use the Screen API, the
AnalysisActivity
displays the captured or imported document and an activity indicator while the document is being analyzed by the Gini API.Link copied to clipboard
public class AnalysisFragmentCompat extends Fragment implements FragmentImplCallback, AnalysisFragmentInterface
Content copied to clipboard
Component API When you use the Component API with the Android Support Library, the
AnalyzeDocumentFragmentCompat
displays the captured or imported document and an activity indicator while the document is being analyzed by the Gini API.Link copied to clipboard
Methods which Analysis Fragment must implement.
Link copied to clipboard
Interface used by AnalysisFragmentCompat to dispatch events to the hosting Activity.
Link copied to clipboard
Internal use only.