Interface CameraWrapper.Listener

    • 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 width
        height - Preview height
        sensorOrientation - 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