CameraLifecycleDelegate

Interface definition for a delegate that handles camera lifecycle events. It is important to note that this interface can only be used if the host application does not use a custom image source.

Functions

Link copied to clipboard
abstract fun onAfterCameraStopped()

Called after the camera is stopped.

Link copied to clipboard

Called before the camera is initialized.

Link copied to clipboard
abstract fun onBeforeCameraStarted()

Called before the camera is started.