public static interface ScanTrustCameraManager.ManagerCallback
Modifier and Type | Method and Description |
---|---|
void |
onCameraResult(ScanningContext scanningContext,
QRCodeData data,
ProcessingStatus processingStatus,
CaptureQualityEvent qualityIssueEvent)
Invoked when a frame has been processed.
|
void |
onConfigurationDone(float previewCodeProportion,
float trueZoomFactor)
Invoked when the camera configuration is done.
|
void onCameraResult(ScanningContext scanningContext, QRCodeData data, ProcessingStatus processingStatus, CaptureQualityEvent qualityIssueEvent)
scanningContext
- The type of scandata
- The output dataprocessingStatus
- The states of the flowqualityIssueEvent
- The quality event that occurred if the scan status is ProcessingStatus.BLOCKED
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.