Java android.hardware.camera2 CameraMetadata fields, constructors, methods, implement or subclass

Example usage for Java android.hardware.camera2 CameraMetadata fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.hardware.camera2 CameraMetadata.

The text is from its open source code.

Field

intLENS_FACING_FRONT

The camera device faces the same direction as the device's screen.

intLENS_FACING_BACK

The camera device faces the opposite direction as the device's screen.

intCONTROL_AE_PRECAPTURE_TRIGGER_START

The precapture metering sequence will be started by the camera device.

The exact effect of the precapture trigger depends on the current AE mode and state.

intCONTROL_AF_MODE_OFF

The auto-focus routine does not control the lens; CaptureRequest#LENS_FOCUS_DISTANCE android.lens.focusDistance is controlled by the application.

intCONTROL_AF_MODE_AUTO

Basic automatic focus mode.

In this mode, the lens does not move unless the autofocus trigger action is called.

intCONTROL_AF_TRIGGER_IDLE

The trigger is idle.

intCONTROL_AF_TRIGGER_START

Autofocus will trigger now.

intCONTROL_AF_TRIGGER_CANCEL

Autofocus will return to its initial state, and cancel any currently active trigger.

intCONTROL_MODE_OFF

Full application control of pipeline.

All control by the device's metering and focusing (3A) routines is disabled, and no other settings in android.control.* have any effect, except that CaptureRequest#CONTROL_CAPTURE_INTENT android.control.captureIntent may be used by the camera device to select post-processing values for processing blocks that do not allow for manual control, or are not exposed by the camera API.

However, the camera device's 3A routines may continue to collect statistics and update their internal state so that when control is switched to AUTO mode, good control values can be immediately applied.

intCONTROL_MODE_AUTO

Use settings for each individual 3A routine.

Manual control of capture parameters is disabled.

intFLASH_MODE_OFF

Do not fire the flash for this capture.

intSTATISTICS_FACE_DETECT_MODE_FULL

Return all face metadata.

In this mode, face rectangles, scores, landmarks, and face IDs are all valid.

intLENS_STATE_MOVING

One or several of the lens parameters ( CaptureRequest#LENS_FOCAL_LENGTH android.lens.focalLength , CaptureRequest#LENS_FOCUS_DISTANCE android.lens.focusDistance , CaptureRequest#LENS_FILTER_DENSITY android.lens.filterDensity or CaptureRequest#LENS_APERTURE android.lens.aperture ) is currently changing.

Method

ClassgetClass()
Returns the runtime class of this Object .