Class BaseGenericDocumentRecognizerActivity
-
- All Implemented Interfaces:
-
io.scanbot.sdk.ui.view.base.Cancelable
,io.scanbot.sdk.ui.view.base.Initializable
,io.scanbot.sdk.ui.view.base.Licensable
,io.scanbot.sdk.ui.view.base.PermissionAware
public abstract class BaseGenericDocumentRecognizerActivity extends NFBaseActivity
Represents camera screen for document recognizer.
-
-
Field Summary
Fields Modifier and Type Field Description private <Error class: unknown class>
factory
private final GenericDocumentCameraViewModel
cameraViewModel
private final GenericDocumentFieldListViewModel
fieldListViewModel
private final PermissionViewModel
permissionViewModel
private GenericDocumentCameraView
cameraView
private GenericDocumentFieldListView
fieldListView
-
Constructor Summary
Constructors Constructor Description BaseGenericDocumentRecognizerActivity()
-
Method Summary
Modifier and Type Method Description final <Error class: unknown class>
getFactory()
final Unit
)>setFactory(<Error class: unknown class> factory)
final GenericDocumentCameraViewModel
getCameraViewModel()
final GenericDocumentFieldListViewModel
getFieldListViewModel()
final PermissionViewModel
getPermissionViewModel()
final GenericDocumentCameraView
getCameraView()
final Unit
setCameraView(GenericDocumentCameraView cameraView)
final GenericDocumentFieldListView
getFieldListView()
final Unit
setFieldListView(GenericDocumentFieldListView fieldListView)
Unit
onStart()
Unit
onStop()
Unit
onRequestPermissionsResult(Integer requestCode, Array<String> permissions, IntArray grantResults)
final Unit
finishWithResult(List<ResultWrapper<GenericDocument>> resultDocumentIds)
Delivers scanned document recognition results content to the user. Unit
onBackPressed()
-
-
Method Detail
-
getFactory
final <Error class: unknown class> getFactory()
-
setFactory
final Unit )>setFactory(<Error class: unknown class> factory)
-
getCameraViewModel
final GenericDocumentCameraViewModel getCameraViewModel()
-
getFieldListViewModel
final GenericDocumentFieldListViewModel getFieldListViewModel()
-
getPermissionViewModel
final PermissionViewModel getPermissionViewModel()
-
getCameraView
final GenericDocumentCameraView getCameraView()
-
setCameraView
final Unit setCameraView(GenericDocumentCameraView cameraView)
-
getFieldListView
final GenericDocumentFieldListView getFieldListView()
-
setFieldListView
final Unit setFieldListView(GenericDocumentFieldListView fieldListView)
-
onRequestPermissionsResult
Unit onRequestPermissionsResult(Integer requestCode, Array<String> permissions, IntArray grantResults)
-
finishWithResult
final Unit finishWithResult(List<ResultWrapper<GenericDocument>> resultDocumentIds)
Delivers scanned document recognition results content to the user.
-
onBackPressed
Unit onBackPressed()
-
-
-
-