Package io.scanbot.sdk.ui.view.base
Class NFBaseActivity
-
- 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 NFBaseActivity implements Cancelable, Licensable, Initializable, PermissionAware
NOTE: 'NF' stands for 'NonFragment' - temporary classes (while migrating away from fragments). Migrated components' activities are to subclass this, instead of old BaseActivity.
Base android.app.Activity class for every RTU UI component.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
NFBaseActivity.Companion
-
Field Summary
Fields Modifier and Type Field Description private CameraUiSettings
cameraUiSettings
public final static NFBaseActivity.Companion
Companion
-
Constructor Summary
Constructors Constructor Description NFBaseActivity()
-
Method Summary
Modifier and Type Method Description final CameraUiSettings
getCameraUiSettings()
final Unit
setCameraUiSettings(CameraUiSettings cameraUiSettings)
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
-
getCameraUiSettings
final CameraUiSettings getCameraUiSettings()
-
setCameraUiSettings
final Unit setCameraUiSettings(CameraUiSettings cameraUiSettings)
-
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.
-
-
-
-