Package io.scanbot.sdk.ui.view.base
Interface IPermissionViewModel
-
- All Implemented Interfaces:
public interface IPermissionViewModel
View model that handles camera permissions for the rtu-ui components
-
-
Method Summary
Modifier and Type Method Description abstract Unit
checkPermission()
Check camera permission and change state accordingly abstract Unit
cameraPermissionChanged()
Camera permission was changed and we need to change ui state abstract Unit
onActivateCameraPermission()
Called when user wants to activate camera permission abstract <Error class: unknown class><Boolean>
getCameraPermissionGranted()
-
-
Method Detail
-
checkPermission
abstract Unit checkPermission()
Check camera permission and change state accordingly
-
cameraPermissionChanged
abstract Unit cameraPermissionChanged()
Camera permission was changed and we need to change ui state
-
onActivateCameraPermission
abstract Unit onActivateCameraPermission()
Called when user wants to activate camera permission
-
getCameraPermissionGranted
abstract <Error class: unknown class><Boolean> getCameraPermissionGranted()
-
-
-
-