public static interface ThreeStepsFlowController.ThreeStepsCallback
| Modifier and Type | Method and Description |
|---|---|
void |
onCameraResult(ScanningContext scanningContext,
QRCodeData data,
ProcessingStatus processingStatus,
CaptureQualityEvent qualityIssueEvent,
ThreeStepsState flowState)
Invoked when a frame has been processed.
|
void |
onCodeNotCentered()
Invoked when a ScanTrust code is read and is not centered.
|
void |
onConfigurationDone(float previewCodeProportion,
float trueZoomFactor)
Invoked when the camera configuration is done.
|
void |
onReadyForAuth()
Invoked when the controller is starting the authentication scanning
|
void |
onZoomedIn()
Invoked when the camera has finished zooming in.
|
void onReadyForAuth()
void onCameraResult(ScanningContext scanningContext, QRCodeData data, ProcessingStatus processingStatus, CaptureQualityEvent qualityIssueEvent, ThreeStepsState flowState)
scanningContext - The type of scandata - The output dataprocessingStatus - The states of the flowqualityIssueEvent - The quality event that occurred if the scan status is ProcessingStatus.BLOCKEDflowState - The state of the flowvoid onCodeNotCentered()
void onZoomedIn()
void onConfigurationDone(float previewCodeProportion,
float trueZoomFactor)
previewCodeProportion - The size proportion of a 1cm code in the preview view. [0,1]trueZoomFactor - The actual zoom factor of the processing image.