Package com.appliedrec.verid.ui2
Interface CameraWrapper.Listener
-
- All Known Implementing Classes:
SessionActivity
,VerIDSessionInView
- Enclosing class:
- CameraWrapper
public static interface CameraWrapper.Listener
Camera wrapper listener- Since:
- 2.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onCameraError(VerIDSessionException error)
Called when opening the camera or starting a preview failsvoid
onCameraPreviewSize(int width, int height, int sensorOrientation)
Called when the camera determines its preview size based on the dimensions of the containing view
-
-
-
Method Detail
-
onCameraPreviewSize
@UiThread void onCameraPreviewSize(int width, int height, int sensorOrientation)
Called when the camera determines its preview size based on the dimensions of the containing view- Parameters:
width
- Preview widthheight
- Preview heightsensorOrientation
- Camera sensor orientation on the device- Since:
- 2.0.0
-
onCameraError
void onCameraError(VerIDSessionException error)
Called when opening the camera or starting a preview fails- Parameters:
error
- Session exception that caused the failure- Since:
- 2.0.0
-
-