enable Tap To Focus
void enableTapToFocus(@NonNull() View tapView, @Nullable() CameraInterface.TapToFocusListener listener)
Content copied to clipboard
Enables tap-to-focus using the given view by adding touch handling to it and transforming the touch point coordinates to the camera sensor's coordinate system.
Note: the view should have the same size as the camera preview and be above it. You could also set the camera preview android.view.SurfaceView directly as the tap view..
Parameters
tap View
the view used to handle taps