public interface CaptureRequestConfiguration
CaptureRequest.Builder
.
When a capture request is made internally in Camera3, it is first created with some defaults,
including the targets. Then, an instance of CaptureRequestConfiguration is called so that
the user has a chance to specify additional parameters.
For precapture, it is recommended to use Camera3.PRECAPTURE_CONFIG_TRIGGER_AUTO_EXPOSE
as a default.
For still capture, Camera3.CAPTURE_CONFIG_DEFAULT
provides no additional configuration
Modifier and Type | Method and Description |
---|---|
void |
configure(android.hardware.camera2.CaptureRequest.Builder request)
Provide an implementation that configures a
CaptureRequest.Builder using
CaptureRequest.Builder.set(android.hardware.camera2.CaptureRequest.Key, Object) . |
void configure(android.hardware.camera2.CaptureRequest.Builder request)
CaptureRequest.Builder
using
CaptureRequest.Builder.set(android.hardware.camera2.CaptureRequest.Key, Object)
.
For example, add something like:
request.set(CaptureRequest.CONTROL_EFFECT_MODE,
CaptureRequest.CONTROL_EFFECT_MODE_NEGATIVE);
request
- the request builder to be configured