Config.FocusMode

public static final enum Config.FocusMode

Selects the desired behavior of the camera focus subsystem. Currently, the default focus mode is FIXED, but the default might change in the future.

For optimal AR tracking performance, use the focus mode provided by the default session config. While capturing pictures or video, use AUTO. For optimal AR tracking, revert to the default focus mode once auto focus behavior is no longer needed. If your app requires fixed focus camera, call setFocusMode(Config.FocusMode)(FIXED) before enabling the AR session. This will ensure that your app always uses fixed focus, even if the default camera config focus mode changes in a future release.

Inherited Methods

Enum Values

public static final Config.FocusMode AUTO

Auto focus mode.

public static final Config.FocusMode FIXED

Fixed focus mode.

Send feedback about...