Package io.scanbot.sdk.ui.view.base
Class BaseActivity
-
- 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 BaseActivity implements Cancelable, Licensable, Initializable, PermissionAware
Base android.app.Activity class for every Activity in this application.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
BaseActivity.Companion
-
Field Summary
Fields Modifier and Type Field Description public final static BaseActivity.Companion
Companion
-
Constructor Summary
Constructors Constructor Description BaseActivity()
-
Method Summary
Modifier and Type Method Description Unit
onCreate(Bundle savedInstanceState)
Unit
onDestroy()
Unit
finishCurrentState()
The signal to finish was received from outside and it is needed to return the current state. Unit
cancel()
Cancel this feature's scanning process. Unit
cancelWithInvalidLicense()
Cancel this feature's scanning process due to invalid license. Unit
cancelWithNotInitialized()
Cancel this feature's scanning process due to SDK is not initialized. -
-
Method Detail
-
finishCurrentState
Unit finishCurrentState()
The signal to finish was received from outside and it is needed to return the current state.
-
cancelWithInvalidLicense
Unit cancelWithInvalidLicense()
Cancel this feature's scanning process due to invalid license.
-
cancelWithNotInitialized
Unit cancelWithNotInitialized()
Cancel this feature's scanning process due to SDK is not initialized.
-
-
-
-