Package net.gini.android.capture.camera

Contains the Activity and Fragments used for the Camera Screen.

Screen API

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

Component API

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

Types

CameraActivity
Link copied to clipboard
public class CameraActivity extends AppCompatActivity implements CameraFragmentListener, CameraFragmentInterface
Screen API{@code CameraActivity} is the main entry point to the Gini Capture SDK when using the Screen API.
CameraFragmentCompat
Link copied to clipboard
public class CameraFragmentCompat extends Fragment implements CameraFragmentInterface, FragmentImplCallback
Component API{@code CameraFragmentCompat} is the main entry point to the Gini Capture SDK when using the Component API with the Android Support Library.
CameraFragmentInterface
Link copied to clipboard
public interface CameraFragmentInterface
Methods which Camera Fragment must implement.
CameraFragmentListener
Link copied to clipboard
public interface CameraFragmentListener
Interface used by CameraFragmentCompat to dispatch events to the hosting Activity.
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.