bindPreview

private final Unit bindPreview(ProcessCameraProvider cameraProvider)

This method is used to bind the preview to the camera.

Parameters

cameraProvider
  • the camera provider