Class BaseActivity
-
- All Implemented Interfaces:
-
io.scanbot.sdk.ui_v2.common.activity.Cancelable
,io.scanbot.sdk.ui_v2.common.activity.Initializable
,io.scanbot.sdk.ui_v2.common.activity.Licensable
public abstract class BaseActivity implements Cancelable, Licensable, Initializable
Base android.app.Activity class for every RTU UI component.
-
-
Field Summary
Fields Modifier and Type Field Description private CameraUiSettings
cameraUiSettings
-
Constructor Summary
Constructors Constructor Description BaseActivity()
-
Method Summary
Modifier and Type Method Description final CameraUiSettings
getCameraUiSettings()
final Unit
setCameraUiSettings(CameraUiSettings cameraUiSettings)
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.
-
-
-
-