public static interface DoublePingFlowController.DoublePingCallback
Modifier and Type | Method and Description |
---|---|
void |
onCameraResult(ScanningContext scanningContext,
QRCodeData data,
ProcessingStatus processingStatus,
CaptureQualityEvent qualityIssueEvent,
DoublePingState flowState)
Invoked when a frame has been processed.
|
void |
onCodeNotCentered()
Invoked when a ScanTrust code is read and is not centered.
|
void |
onCodeSpecialState(String message,
CodeSpecialState specialState)
Invoked when the code that has been scanned is in a special server state
(not linked to the authentication) and should be dealt with, with a special feedback in the app
|
void |
onConfigurationDone(float previewCodeProportion,
float trueZoomFactor)
Invoked when the camera configuration is done.
|
void |
onParamsNeeded(MatcherResult matcherResult)
Invoked when the current code parameters are needed.
|
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, DoublePingState 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.BLOCKED
flowState
- 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.void onParamsNeeded(MatcherResult matcherResult)
matcherResult
- The details about the current code.void onCodeSpecialState(String message, CodeSpecialState specialState)
message
- The code which is concerned by the special statespecialState
- The special state