Resource Base
Table of contents

FocusListener

The FocusListener interface includes methods for monitoring the focus status and receiving focus completion events.

Definition

Assembly: DynamsoftCaptureVisionBundle.aar

Namespace: com.dynamsoft.dce

interface FocusListener

Methods

onFocusFinished

The method for receiving notifications when a focus operation is completed.

void onFocusFinished(PointF focusPoint);

Parameters

focusPoint: A PointF object that represents the coordinates of the focus point.

Remarks

This callback is triggered under the following conditions:

  • Always triggered when calling setFocus(Point, FocusModeLocked)
  • Might be triggered when performing tap-to-focus
  • Never triggered when calling setFocus(Point, FocusModeContinuousAuto)

This page is compatible for: