Camera
XHandler
fun CameraXHandler( lifeCycle: LifecycleOwner, view: PreviewView, lensFacing: Int = CameraSelector.LENS_FACING_BACK)
Content copied to clipboard
Instance of CameraXHandler
Parameters
lifeCycle
where the CameraX is being called
view
instance of PreviewView in the layout
lensFacing
Use the Lens Facing back or Front for the cameraX