ImageCapture.CaptureMode
public
static
final
enum
ImageCapture.CaptureMode
extends Enum<ImageCapture.CaptureMode>
| java.lang.Object | ||
| ↳ | java.lang.Enum<androidx.camera.core.ImageCapture.CaptureMode> | |
| ↳ | 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
Enum values | |
|---|---|
ImageCapture.CaptureMode |
MAX_QUALITY
Optimizes capture pipeline to prioritize image quality over latency. |
ImageCapture.CaptureMode |
MIN_LATENCY
Optimizes capture pipeline to prioritize latency over image quality. |
Public methods | |
|---|---|
static
ImageCapture.CaptureMode
|
valueOf(String name)
|
static
final
CaptureMode[]
|
values()
|
Inherited methods | |
|---|---|
Enum values
MAX_QUALITY
public static final ImageCapture.CaptureMode MAX_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.
MIN_LATENCY
public static final ImageCapture.CaptureMode MIN_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.
Public methods
valueOf
public static ImageCapture.CaptureMode valueOf (String name)
| Parameters | |
|---|---|
name |
String |
| Returns | |
|---|---|
ImageCapture.CaptureMode |
|
Interfaces
- CameraControl
- CameraX.ErrorListener
- Config
- Config.ExtendableBuilder
- ImageAnalysis.Analyzer
- ImageCapture.OnImageSavedListener
- ImageInfo
- ImageProxy
- ImageProxy.PlaneProxy
- ImageProxyBundle
- MutableConfig
- Observable
- Observable.Observer
- OnFocusListener
- Preview.OnPreviewOutputUpdateListener
- UseCaseEventConfig
- UseCaseEventConfig.Builder
Classes
Enums
Exceptions
Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates.