Camera XHandler

fun CameraXHandler(    lifeCycle: LifecycleOwner,     view: PreviewView,     lensFacing: Int = CameraSelector.LENS_FACING_BACK)

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

Sources

Link copied to clipboard