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
Camera Activity
Link copied to clipboard
public class CameraActivity extends AppCompatActivity implements CameraFragmentListener, CameraFragmentInterface
Content copied to clipboard
Screen API
CameraActivity
is the main entry point to the Gini Vision Library when using the Screen API.Camera Fragment Compat
Link copied to clipboard
public class CameraFragmentCompat extends Fragment implements CameraFragmentInterface, FragmentImplCallback
Content copied to clipboard
Component API
CameraFragmentCompat
is the main entry point to the Gini Vision Library when using the Component API with the Android Support Library.Camera Fragment Interface
Link copied to clipboard
public interface CameraFragmentInterface
Content copied to clipboard
Methods which both Camera Fragments must implement.
Camera Fragment Listener
Link copied to clipboard
public interface CameraFragmentListener
Content copied to clipboard
Interface used by CameraFragmentStandard and CameraFragmentCompat to dispatch events to the hosting Activity.
Camera Fragment Standard
Link copied to clipboard
public class CameraFragmentStandard extends Fragment implements CameraFragmentInterface, FragmentImplCallback
Content copied to clipboard
Component API
CameraFragmentStandard
is the main entry point to the Gini Vision Library when using the Component API without the Android Support Library.Image Stack
Link copied to clipboard
Created by Alpar Szotyori on 13.02.2018.