Config.FocusMode

public static final enum Config.FocusMode

Selects the desired behavior of the camera focus subsystem. Currently, the default focus mode is AR_FOCUS_MODE_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 AR_FOCUS_MODE_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(AR_FOCUS_MODE_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

public static final Config.FocusMode FIXED

Send feedback about...