public interface NetverifyCustomScanPresenter
Modifier and Type | Method and Description |
---|---|
void |
confirmScan()
Confirm the scanned picture
|
void |
destroy()
Releases all allocated resources (Camera, ...).
|
void |
getHelpAnimation(NetverifyCustomAnimationView customAnimationView)
Get the help animation for the currently active scan mode.
|
java.lang.String |
getHelpText()
Get the help text for the currently active scan mode.
|
NetverifyScanMode |
getScanMode()
Get the currently active scan mode.
|
boolean |
hasFlash() |
boolean |
hasMultipleCameras() |
boolean |
isCameraFrontFacing() |
boolean |
isFallbackAvailable() |
boolean |
isFlashOn() |
void |
pause()
This function needs to be called in the onPause lifecycle function of the Fragment or Activity
|
void |
pauseExtraction()
Pause the extraction but keep the camera preview running
|
void |
resume()
This function needs to be called in the onResume lifecycle function of the Fragment or Activity
|
void |
resumeExtraction()
Resume the extraction
|
void |
retryScan()
Restart scan if the scan has been stopped
|
boolean |
showShutterButton() |
void |
startFallback()
Switches to the fallback scan mode (overlay and probably scan side will be changed)
|
void |
stopScan()
Scan can be stopped manually, retryScan is possible after this method is called.
|
void |
switchCamera()
switches between the cameras
|
void |
takePicture()
Manually takes a picture - only possible if
showShutterButton() returns true |
void |
toggleFlash()
Toggles the flash, if one is available
|
void destroy()
NetverifyScanMode getScanMode()
NetverifyScanMode
java.lang.String getHelpText()
NetverifyCustomScanInterface.onNetverifyScanForPartCanceled(ScanSide, NetverifyCancelReason)
is triggered,
this function should be called again to check for a changed help text.void getHelpAnimation(NetverifyCustomAnimationView customAnimationView)
NetverifyCustomScanInterface.onNetverifyScanForPartCanceled(ScanSide, NetverifyCancelReason)
is triggered,
this function should be called again to check for a changed help animation.
At the moment this is only implemented for the scan mode NetverifyScanMode.FACE
void resume()
void pause()
void retryScan()
void confirmScan()
void stopScan()
boolean hasFlash()
boolean isFlashOn()
void toggleFlash()
boolean hasMultipleCameras()
boolean isCameraFrontFacing()
void switchCamera()
boolean isFallbackAvailable()
void startFallback()
boolean showShutterButton()
void takePicture()
showShutterButton()
returns truevoid pauseExtraction()
void resumeExtraction()
© Jumio Corp. 268 Lambert Avenue, Palo Alto, CA 94306
The source code and software available on this website (“Software”) is provided by Jumio Corp. or its affiliated group
companies (“Jumio”) "as is” and any express or implied warranties, including, but not limited to, the implied warranties of
merchantability and fitness for a particular purpose are disclaimed. In no event shall Jumio be liable for any direct, indirect,
incidental, special, exemplary, or consequential damages (including but not limited to procurement of substitute goods or
services, loss of use, data, profits, or business interruption) however caused and on any theory of liability, whether in contract,
strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this Software, even if advised of the
possibility of such damage. In any case, your use of this Software is subject to the terms and conditions that apply to your
contractual relationship with Jumio. As regards Jumio’s privacy practices, please see our privacy notice available here: Privacy Policy.