onResume

abstract fun 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