openCameraInstance

open override fun openCameraInstance(cameraSelectorFilter: CameraSelectorFilter)

Selects and opens the best hardware camera candidate according to the supplied criteria, waiting for it to be available or claiming the resource if necessary.

Events emitted:

NOTE: calling this method will release the camera if it's already initialized.

Parameters

cameraSelectorFilter

The filter applied to the list of available cameras to choose the best fit.