Package io.scanbot.sdk.ui.view.vin
Interface IVinScannerCameraView
-
- All Implemented Interfaces:
public interface IVinScannerCameraViewRepresents camera screen for VIN Scanner screen of the application.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceIVinScannerCameraView.ViewModelStore view state and transport user interactions to it.
-
Method Summary
Modifier and Type Method Description abstract UnitattachViewModel(IVinScannerCameraView.ViewModel viewModel)Attach ViewModel which will receive callbacks on user interactions. abstract UnitattachPermissionViewModel(IPermissionViewModel viewModel)Attach special ViewModel implementation which will handle runtime permissions. abstract UnitsetCameraOrientationMode(CameraOrientationMode cameraOrientationMode)Sets camera orientation mode. abstract UnitsetCameraModule(CameraModule cameraModule)Set camera module. -
-
Method Detail
-
attachViewModel
abstract Unit attachViewModel(IVinScannerCameraView.ViewModel viewModel)
Attach ViewModel which will receive callbacks on user interactions.
-
attachPermissionViewModel
abstract Unit attachPermissionViewModel(IPermissionViewModel viewModel)
Attach special ViewModel implementation which will handle runtime permissions.
-
setCameraOrientationMode
abstract Unit setCameraOrientationMode(CameraOrientationMode cameraOrientationMode)
Sets camera orientation mode.
- Parameters:
cameraOrientationMode- CameraOrientationMode.LANDSCAPE or CameraOrientationMode.PORTRAIT
-
setCameraModule
abstract Unit setCameraModule(CameraModule cameraModule)
Set camera module.
- Parameters:
cameraModule- one of the supported modes - CameraModule
-
-
-
-