Config.UpdateMode

public static final enum Config.UpdateMode

Selects the behavior of update().

Inherited Methods

Enum Values

public static final Config.UpdateMode BLOCKING

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

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.

Send feedback about...