Package com.appliedrec.verid.ui2
Interface CameraWrapper.Listener
-
- All Known Implementing Classes:
SessionActivity,VerIDSessionInView
- Enclosing class:
- CameraWrapper
public static interface CameraWrapper.ListenerCamera wrapper listener- Since:
- 2.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonCameraError(VerIDSessionException error)Called when opening the camera or starting a preview failsvoidonCameraPreviewSize(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
-
-