Sprache

ControlCaptureIntent Enum

Definition

Enumerates values returned by several methods of ControlCaptureIntent.

public enum ControlCaptureIntent
type ControlCaptureIntent = 
Inheritance
ControlCaptureIntent

Fields

Name Value Description
Custom 0

The goal of this request doesn't fall into the other categories. The camera device will default to preview-like behavior.

Android reference for android.hardware.camera2.CameraMetadata.CONTROL_CAPTURE_INTENT_CUSTOM.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Preview 1

This request is for a preview-like use case.

The precapture trigger may be used to start off a metering w/flash sequence.

Android reference for android.hardware.camera2.CameraMetadata.CONTROL_CAPTURE_INTENT_PREVIEW.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

StillCapture 2

This request is for a still capture-type use case.

If the flash unit is under automatic control, it may fire as needed.

Android reference for android.hardware.camera2.CameraMetadata.CONTROL_CAPTURE_INTENT_STILL_CAPTURE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

VideoRecord 3

This request is for a video recording use case.

Android reference for android.hardware.camera2.CameraMetadata.CONTROL_CAPTURE_INTENT_VIDEO_RECORD.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

VideoSnapshot 4

This request is for a video snapshot (still image while recording video) use case.

The camera device should take the highest-quality image possible (given the other settings) without disrupting the frame rate of video recording.

Android reference for android.hardware.camera2.CameraMetadata.CONTROL_CAPTURE_INTENT_VIDEO_SNAPSHOT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ZeroShutterLag 5

This request is for a ZSL usecase; the application will stream full-resolution images and reprocess one or several later for a final capture.

Android reference for android.hardware.camera2.CameraMetadata.CONTROL_CAPTURE_INTENT_ZERO_SHUTTER_LAG.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Manual 6

This request is for manual capture use case where the applications want to directly control the capture parameters.

For example, the application may wish to manually control android.sensor.exposureTime, android.sensor.sensitivity, etc.

Android reference for android.hardware.camera2.CameraMetadata.CONTROL_CAPTURE_INTENT_MANUAL.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

MotionTracking 7

This request is for a motion tracking use case, where the application will use camera and inertial sensor data to locate and track objects in the world.

The camera device auto-exposure routine will limit the exposure time of the camera to no more than 20 milliseconds, to minimize motion blur.

Android reference for android.hardware.camera2.CameraMetadata.CONTROL_CAPTURE_INTENT_MOTION_TRACKING.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to