SessionTaskDelegate

Session task delegate

Package com.appliedrec.verid.core2

public interface SessionTaskDelegate

Methods

onProgress

Introduced in version 1.0.0

public onProgress(SessionTask, VerIDSessionResult, FaceDetectionResult)

Called on the main thread by session task upon completing face detection.

Your app may use this to update its user interface. For example it may show the detected face bounds overlaid on top of the camera preview.

Parameters

sessionTask com.appliedrec.verid.core2.SessionTask
Task that issued this update
sessionResult com.appliedrec.verid.core2.session.VerIDSessionResult
Interim result of the session
faceDetectionResult com.appliedrec.verid.core2.session.FaceDetectionResult
Result of the face detection

onComplete

Introduced in version 1.0.0

public onComplete(SessionTask, VerIDSessionResult)

Called on the main thread by session task upon finishing a session.

Parameters

sessionTask com.appliedrec.verid.core2.SessionTask
Task that finished
sessionResult com.appliedrec.verid.core2.session.VerIDSessionResult
Result of the session