LensCheckingHelper

Parameters

context

The context (usually the activity) to show the dialog.

availableCameras

The list of available camera information.

isBackCamera

Flag indicating if the back camera is required.

onError

Callback function to handle errors (e.g., finish the activity).