ARCore is back at Google I/O on May 10! Register now.

Config.UpdateMode

Stay organized with collections Save and categorize content based on your preferences.
public static final enum Config.UpdateMode

Selects the behavior of Session.update().

Inherited Methods

Enum Values

BLOCKING

public static final Config.UpdateMode BLOCKING

update() will normally wait until a new camera image is available. On most devices the camera is configured to capture 30 frames per second.

Note: If the camera image does not arrive by the built-in timeout (currently 66ms), then update() will instead return the most recent Frame object.

LATEST_CAMERA_IMAGE

public static final Config.UpdateMode LATEST_CAMERA_IMAGE

update() will return immediately without blocking. If no new camera image is available, then update() will return the most recent Frame object.