CameraXSetup
Parameters
lifeCycle
the LifecycleOwner where the androidx.camera.view.PreviewView is being inflated
view
instance of PreviewView from the given page
lensFacing
Use the Lens Facing back or Front to use for the Camera
the LifecycleOwner where the androidx.camera.view.PreviewView is being inflated
instance of PreviewView from the given page
Use the Lens Facing back or Front to use for the Camera