IVerIDSessionFragment

Interface that works with com.appliedrec.verid.ui2.VerIDSessionActivity.html.

Package com.appliedrec.verid.ui2

public interface IVerIDSessionFragment

Implements

Methods

startCamera

Introduced in version 1.0.0

public startCamera()

Indicates that the fragment should start a camera.

drawFaceFromResult

Introduced in version 1.0.0

public drawFaceFromResult(FaceDetectionResult, VerIDSessionResult, RectF, EulerAngle)

Called when the session produces an interim session result from a face detection result.

You can use this method to, for example, display the resulting face to the user.

Parameters

faceDetectionResult com.appliedrec.verid.core2.session.FaceDetectionResult
Face detection result
sessionResult com.appliedrec.verid.core2.session.VerIDSessionResult
The interim session result
defaultFaceBounds android.graphics.RectF
Bounds of the region where the session expects a face
offsetAngleFromBearing com.appliedrec.verid.core2.EulerAngle
Angle as offset from the requested bearing – can be used to draw an arrow indicating which direction the user should move

clearCameraOverlay

Introduced in version 1.0.0

public clearCameraOverlay()

Indicates that fragment should clear the camera overlay view.

clearCameraPreview

Introduced in version 1.4.0

public clearCameraPreview()

Clears the camera preview