Package io.scanbot.sdk.ui
Interface ILegacyCameraController
-
- All Implemented Interfaces:
-
io.scanbot.sdk.ui.ICameraViewController
public interface ILegacyCameraController implements ICameraViewController
-
-
Method Summary
Modifier and Type Method Description abstract Unit
onResume()
Notifies view that enclosing android.app.Activity or android.app.Fragment was resumed and therefore camera can be started. abstract Unit
onPause()
Notifies view that enclosing android.app.Activity or android.app.Fragment was paused and therefore camera must be closed. abstract Unit
closeCamera()
Stop camera preview and free up the resourcesFor CameraX approach this call is redundant and may be skipped -
-
Method Detail
-
onResume
abstract Unit onResume()
Notifies view that enclosing android.app.Activity or android.app.Fragment was resumed and therefore camera can be started.
For CameraX approach this call is redundant and may be skipped
-
onPause
abstract Unit onPause()
Notifies view that enclosing android.app.Activity or android.app.Fragment was paused and therefore camera must be closed.
For CameraX approach this call is redundant and may be skipped
-
closeCamera
abstract Unit closeCamera()
Stop camera preview and free up the resources
For CameraX approach this call is redundant and may be skipped
-
-
-
-