TapToFocusGestureController

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
abstract fun addOnTapListener(onTap: (point: MeteringPoint) -> Unit): ListenerSubscription

Adds a listener called when a tap creates a MeteringPoint, right before focusing begins.