TapToFocusGestureController
interface TapToFocusGestureController extends GestureControllerA TapToFocusGestureController is a GestureController
that can trigger a CameraController's
focusTo(...)
action via a native tap to focus gesture.
Properties
controller
controller: CameraController | undefinedGets or sets the CameraController
this GestureController should
control.
Inherited from
Methods
addOnFocusCompletedListener(...)
addOnFocusCompletedListener(onFocusCompleted: (point: MeteringPoint) => void): ListenerSubscriptionAdds a listener that is called when the focus operation triggered by a native tap completes.
This is not called if the focus operation fails. Call
remove() on the returned
subscription to stop receiving updates.
addOnTapListener(...)
addOnTapListener(onTap: (point: MeteringPoint) => void): ListenerSubscriptionAdds a listener that is called when a native tap gesture creates a
MeteringPoint, immediately before focusing begins.
Call remove() on the returned
subscription to stop receiving updates.