Package io.scanbot.sdk.ui.view.camera
Class BaseFinderDocumentScannerActivity
-
- 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 BaseFinderDocumentScannerActivity extends NFBaseActivity
FinderDocumentScannerActivity parent that handles view model initialisation and configuration parsing
-
-
Field Summary
Fields Modifier and Type Field Description private <Error class: unknown class>
factory
private final DocumentScannerCameraViewModel
cameraViewModel
private final PermissionViewModel
permissionViewModel
-
Constructor Summary
Constructors Constructor Description BaseFinderDocumentScannerActivity()
-
Method Summary
Modifier and Type Method Description final <Error class: unknown class>
getFactory()
final Unit
)>setFactory(<Error class: unknown class> factory)
final DocumentScannerCameraViewModel
getCameraViewModel()
final PermissionViewModel
getPermissionViewModel()
Unit
onStart()
Unit
onStop()
Unit
onRequestPermissionsResult(Integer requestCode, Array<String> permissions, IntArray grantResults)
Boolean
onKeyDown(Integer keyCode, KeyEvent event)
Unit
onBackPressed()
abstract Unit
closeSnapping(DocumentScannerNavigationEvent.CloseSnapping closeSnapping)
User want to close snapping. Unit
finishCurrentState()
Triggered when the signal to finish was received from outside -
-
Method Detail
-
getFactory
final <Error class: unknown class> getFactory()
-
setFactory
final Unit )>setFactory(<Error class: unknown class> factory)
-
getCameraViewModel
final DocumentScannerCameraViewModel getCameraViewModel()
-
getPermissionViewModel
final PermissionViewModel getPermissionViewModel()
-
onRequestPermissionsResult
Unit onRequestPermissionsResult(Integer requestCode, Array<String> permissions, IntArray grantResults)
-
onBackPressed
Unit onBackPressed()
-
closeSnapping
abstract Unit closeSnapping(DocumentScannerNavigationEvent.CloseSnapping closeSnapping)
User want to close snapping.
-
finishCurrentState
Unit finishCurrentState()
Triggered when the signal to finish was received from outside
-
-
-
-