ImageCapture.CaptureMode

public static abstract @interface ImageCapture.CaptureMode
implements Annotation

androidx.camera.core.ImageCapture.CaptureMode


Capture mode options for ImageCapture. A picture will always be taken regardless of mode, and the mode will be used on devices that support it.

Summary

Constants

int MAXIMIZE_QUALITY

Optimizes capture pipeline to prioritize image quality over latency.

int MINIMIZE_LATENCY

Optimizes capture pipeline to prioritize latency over image quality.

Inherited methods

Constants

MAXIMIZE_QUALITY

public static final int MAXIMIZE_QUALITY

Optimizes capture pipeline to prioritize image quality over latency. When the capture mode is set to MAX_QUALITY, images may take longer to capture.

Constant Value: 0 (0x00000000)

MINIMIZE_LATENCY

public static final int MINIMIZE_LATENCY

Optimizes capture pipeline to prioritize latency over image quality. When the capture mode is set to MIN_LATENCY, images may capture faster but the image quality may be reduced.

Constant Value: 1 (0x00000001)