Package net.gini.android.vision.camera

Contains the Activity and Fragments used for the Camera Screen.

Screen API

The net.gini.android.vision.camera.CameraActivity is the main entry point when using the Screen API. Start net.gini.android.vision.camera.CameraActivity and as a result, if something went wrong, a net.gini.android.vision.GiniVisionError is returned.

Component API

To use the Component API you have to include the net.gini.android.vision.camera.CameraFragmentStandard or the net.gini.android.vision.camera.CameraFragmentCompat 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.vision.camera.CameraFragmentListener interface.

Types

CameraActivity
Link copied to clipboard
public class CameraActivity extends AppCompatActivity implements CameraFragmentListener, CameraFragmentInterface
Screen APICameraActivity is the main entry point to the Gini Vision Library when using the Screen API.
CameraFragmentCompat
Link copied to clipboard
public class CameraFragmentCompat extends Fragment implements CameraFragmentInterface, FragmentImplCallback
Component APICameraFragmentCompat is the main entry point to the Gini Vision Library when using the Component API with the Android Support Library.
CameraFragmentInterface
Link copied to clipboard
public interface CameraFragmentInterface
Methods which both Camera Fragments must implement.
CameraFragmentListener
Link copied to clipboard
public interface CameraFragmentListener
Interface used by CameraFragmentStandard and CameraFragmentCompat to dispatch events to the hosting Activity.
CameraFragmentStandard
Link copied to clipboard
public class CameraFragmentStandard extends Fragment implements CameraFragmentInterface, FragmentImplCallback
Component APICameraFragmentStandard is the main entry point to the Gini Vision Library when using the Component API without the Android Support Library.
FrameView
Link copied to clipboard
public class FrameView extends View
Internal use only.
ImageStack
Link copied to clipboard
public class ImageStack extends RelativeLayout
Created by Alpar Szotyori on 13.02.2018.