Class PhotopayUISettings
java.lang.Object
com.microblink.photopay.uisettings.UISettings<BasicOverlayController>
com.microblink.photopay.uisettings.BasicScanUISettings
com.microblink.photopay.uisettings.PhotopayUISettings
- All Implemented Interfaces:
BeepSoundUIOptions
,DebugImageListenerUIOptions
,HelpIntentUIOptions
,HighResSuccessFrameCaptureUIOptions
,OcrResultDisplayUIOptions
,SplashScreenUIOptions
- Direct Known Subclasses:
OcrLineUISettings
Scan settings for scanning payment slips.
-
Constructor Summary
ConstructorsConstructorDescriptionPhotopayUISettings
(android.content.Intent intent) PhotopayUISettings
(RecognizerBundle recognizerBundle) -
Method Summary
Modifier and TypeMethodDescriptionprotected BasicOverlaySettings.Builder
Class<?>
Returns target activity.void
setOcrResultDisplayMode
(OcrResultDisplayMode ocrResultDisplayMode) Defines mode in which OCR result will be drawn on camera preview.Methods inherited from class com.microblink.photopay.uisettings.BasicScanUISettings
createOverlayController, enableHighResSuccessFrameCapture, getRecognizerBundle, saveToIntent, setBeepSoundResourceID, setDebugImageListener, setForcedOrientation, setHelpIntent, setRegionOfInterestRotatable, setScanRegionOfInterest, setSplashScreenLayoutResourceID
Methods inherited from class com.microblink.photopay.uisettings.UISettings
getActivityTheme, getFilterTouchesWhenObscured, getUsingFlagSecure, setActivityTheme, setCameraSettings, setFilterTouchesWhenObscured, setUsingFlagSecure
-
Constructor Details
-
PhotopayUISettings
-
PhotopayUISettings
public PhotopayUISettings(@NonNull android.content.Intent intent)
-
-
Method Details
-
setOcrResultDisplayMode
Description copied from interface:OcrResultDisplayUIOptions
Defines mode in which OCR result will be drawn on camera preview.- Specified by:
setOcrResultDisplayMode
in interfaceOcrResultDisplayUIOptions
- Parameters:
ocrResultDisplayMode
- mode in which OCR result will be drawn on camera preview.
-
getTargetActivity
Description copied from class:UISettings
Returns target activity. Concrete settings can be used only with the corresponding activity. This method is public for convenience when you are not able to useActivityRunner
. DO NOT USE THIS METHOD UNLESS YOU KNOW WHAT YOU ARE DOING. Improper usage will crash your app.- Specified by:
getTargetActivity
in classUISettings<BasicOverlayController>
- Returns:
- target activity.
-
createOverlaySettingsBuilder
- Specified by:
createOverlaySettingsBuilder
in classBasicScanUISettings
-