TapToFocusGestureController
A GestureController that calls CameraController.focusTo when the user taps the view.
Properties
Link copied to clipboard
The CameraController this gesture controls, or null to disable the gesture.
Functions
Link copied to clipboard
abstract fun addOnFocusCompletedListener(onFocusCompleted: (point: MeteringPoint) -> Unit): ListenerSubscription
Adds a listener called when the focus operation triggered by a tap completes. It is not called if the focus operation fails.
Link copied to clipboard
Adds a listener called when a tap creates a MeteringPoint, right before focusing begins.