Language

CameraCharacteristics Class

Definition

The properties describing a CameraDevice CameraDevice.

[Android.Runtime.Register("android/hardware/camera2/CameraCharacteristics", DoNotGenerateAcw=true)]
public sealed class CameraCharacteristics : Android.Hardware.Camera2.CameraMetadata
[<Android.Runtime.Register("android/hardware/camera2/CameraCharacteristics", DoNotGenerateAcw=true)>]
type CameraCharacteristics = class
    inherit CameraMetadata
Inheritance
CameraCharacteristics
Attributes

Remarks

The properties describing a CameraDevice CameraDevice.

These properties are primarily fixed for a given CameraDevice, and can be queried through the CameraManager CameraManager interface with CameraManager#getCameraCharacteristics. Beginning with API level 32, some properties such as #SENSOR_ORIENTATION may change dynamically based on the state of the device. For information on whether a specific value is fixed, see the documentation for its key.

When obtained by a client that does not hold the CAMERA permission, some metadata values are not included. The list of keys that require the permission is given by #getKeysNeedingPermission.

CameraCharacteristics objects are immutable.

Java documentation for android.hardware.camera2.CameraCharacteristics.

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.

Fields

Name Description
AutomotiveLensFacingExteriorFront
Obsolete.

The camera device faces the front of the vehicle body frame.

(Inherited from CameraMetadata)
AutomotiveLensFacingExteriorLeft
Obsolete.

The camera device faces the left side of the vehicle body frame.

(Inherited from CameraMetadata)
AutomotiveLensFacingExteriorOther
Obsolete.

The camera device faces the outside of the vehicle body frame but not exactly one of the exterior sides defined by this enum.

(Inherited from CameraMetadata)
AutomotiveLensFacingExteriorRear
Obsolete.

The camera device faces the rear of the vehicle body frame.

(Inherited from CameraMetadata)
AutomotiveLensFacingExteriorRight
Obsolete.

The camera device faces the right side of the vehicle body frame.

(Inherited from CameraMetadata)
AutomotiveLensFacingInteriorOther
Obsolete.

The camera device faces the inside of the vehicle body frame but not exactly one of seats described by this enum.

(Inherited from CameraMetadata)
AutomotiveLensFacingInteriorSeatRow1Center
Obsolete.

The camera device faces the center seat of the first row.

(Inherited from CameraMetadata)
AutomotiveLensFacingInteriorSeatRow1Left
Obsolete.

The camera device faces the left side seat of the first row.

(Inherited from CameraMetadata)
AutomotiveLensFacingInteriorSeatRow1Right
Obsolete.

The camera device faces the right seat of the first row.

(Inherited from CameraMetadata)
AutomotiveLensFacingInteriorSeatRow2Center
Obsolete.

The camera device faces the center seat of the second row.

(Inherited from CameraMetadata)
AutomotiveLensFacingInteriorSeatRow2Left
Obsolete.

The camera device faces the left side seat of the second row.

(Inherited from CameraMetadata)
AutomotiveLensFacingInteriorSeatRow2Right
Obsolete.

The camera device faces the right side seat of the second row.

(Inherited from CameraMetadata)
AutomotiveLensFacingInteriorSeatRow3Center
Obsolete.

The camera device faces the center seat of the third row.

(Inherited from CameraMetadata)
AutomotiveLensFacingInteriorSeatRow3Left
Obsolete.

The camera device faces the left side seat of the third row.

(Inherited from CameraMetadata)
AutomotiveLensFacingInteriorSeatRow3Right
Obsolete.

The camera device faces the right seat of the third row.

(Inherited from CameraMetadata)
AutomotiveLocationExteriorFront
Obsolete.

The camera device exists outside of the vehicle body frame and on its front side.

(Inherited from CameraMetadata)
AutomotiveLocationExteriorLeft
Obsolete.

The camera device exists outside and on left side of the vehicle body frame.

(Inherited from CameraMetadata)
AutomotiveLocationExteriorOther
Obsolete.

The camera exists outside of the vehicle body frame but not exactly on one of the exterior locations this enum defines.

(Inherited from CameraMetadata)
AutomotiveLocationExteriorRear
Obsolete.

The camera device exists outside of the vehicle body frame and on its rear side.

(Inherited from CameraMetadata)
AutomotiveLocationExteriorRight
Obsolete.

The camera device exists outside and on right side of the vehicle body frame.

(Inherited from CameraMetadata)
AutomotiveLocationExtraFront
Obsolete.

The camera device exists outside of the extra vehicle's body frame and on its front side.

(Inherited from CameraMetadata)
AutomotiveLocationExtraLeft
Obsolete.

The camera device exists outside and on left side of the extra vehicle body.

(Inherited from CameraMetadata)
AutomotiveLocationExtraOther
Obsolete.

The camera device exists on an extra vehicle, such as the trailer, but not exactly on one of front, rear, left, or right side.

(Inherited from CameraMetadata)
AutomotiveLocationExtraRear
Obsolete.

The camera device exists outside of the extra vehicle's body frame and on its rear side.

(Inherited from CameraMetadata)
AutomotiveLocationExtraRight
Obsolete.

The camera device exists outside and on right side of the extra vehicle body.

(Inherited from CameraMetadata)
AutomotiveLocationInterior
Obsolete.

The camera device exists inside of the vehicle cabin.

(Inherited from CameraMetadata)
ColorCorrectionModeCct
Obsolete.

Use CaptureRequest#COLOR_CORRECTION_COLOR_TEMPERATURE android.colorCorrection.colorTemperature and CaptureRequest#COLOR_CORRECTION_COLOR_TINT android.colorCorrection.colorTint to adjust the white balance based on correlated color temperature.

(Inherited from CameraMetadata)
ControlAeModeOnLowLightBoostBrightnessPriority
Obsolete.

Like 'ON' but applies additional brightness boost in low light scenes.

(Inherited from CameraMetadata)
ControlAePriorityModeOff
Obsolete.

Disable AE priority mode.

(Inherited from CameraMetadata)
ControlAePriorityModeSensorExposureTimePriority
Obsolete.

The camera device's auto-exposure routine is active and prioritizes the application-selected exposure time (CaptureRequest#SENSOR_EXPOSURE_TIME android.sensor.exposureTime).

(Inherited from CameraMetadata)
ControlAePriorityModeSensorSensitivityPriority
Obsolete.

The camera device's auto-exposure routine is active and prioritizes the application-selected ISO (CaptureRequest#SENSOR_SENSITIVITY android.sensor.sensitivity).

(Inherited from CameraMetadata)
ControlAfSceneChangeDetected

Scene change is detected within the AF region(s).

(Inherited from CameraMetadata)
ControlAfSceneChangeNotDetected

Scene change is not detected within the AF region(s).

(Inherited from CameraMetadata)
ControlAutoframingOff
Obsolete.

Disable autoframing.

(Inherited from CameraMetadata)
ControlAutoframingOn
Obsolete.

Enable autoframing to keep people in the frame's field of view.

(Inherited from CameraMetadata)
ControlAutoframingStateConverged
Obsolete.

Auto-framing has reached a stable state (frame/fov is not being adjusted).

(Inherited from CameraMetadata)
ControlAutoframingStateFraming
Obsolete.

Auto-framing is in process - either zooming in, zooming out or pan is taking place.

(Inherited from CameraMetadata)
ControlAutoframingStateInactive
Obsolete.

Auto-framing is inactive.

(Inherited from CameraMetadata)
ControlExtendedSceneModeBokehContinuous
Obsolete.

Bokeh effect must not slow down capture rate relative to sensor raw output, and the effect is applied to all processed streams no larger than the maximum streaming dimension.

(Inherited from CameraMetadata)
ControlExtendedSceneModeBokehStillCapture
Obsolete.

High quality bokeh mode is enabled for all non-raw streams (including YUV, JPEG, and IMPLEMENTATION_DEFINED) when capture intent is STILL_CAPTURE.

(Inherited from CameraMetadata)
ControlExtendedSceneModeDisabled
Obsolete.

Extended scene mode is disabled.

(Inherited from CameraMetadata)
ControlLowLightBoostStateActive
Obsolete.

The AE mode 'ON_LOW_LIGHT_BOOST_BRIGHTNESS_PRIORITY' is enabled and applied.

(Inherited from CameraMetadata)
ControlLowLightBoostStateInactive
Obsolete.

The AE mode 'ON_LOW_LIGHT_BOOST_BRIGHTNESS_PRIORITY' is enabled but not applied.

(Inherited from CameraMetadata)
ControlModeUseExtendedSceneMode
Obsolete.

Use a specific extended scene mode.

(Inherited from CameraMetadata)
ControlSettingsOverrideOff
Obsolete.

No keys are applied sooner than the other keys when applying CaptureRequest settings to the camera device.

(Inherited from CameraMetadata)
ControlSettingsOverrideZoom
Obsolete.

Zoom related keys are applied sooner than the other keys in the CaptureRequest.

(Inherited from CameraMetadata)
ControlVideoStabilizationModePreviewStabilization
Obsolete.

Preview stabilization, where the preview in addition to all other non-RAW streams are stabilized with the same quality of stabilization, is enabled.

(Inherited from CameraMetadata)
ControlZoomMethodAuto
Obsolete.

The camera device automatically detects whether the application does zoom with CaptureRequest#SCALER_CROP_REGION android.scaler.cropRegion or CaptureRequest#CONTROL_ZOOM_RATIO android.control.zoomRatio, and in turn decides which metadata tag reflects the effective zoom level.

(Inherited from CameraMetadata)
ControlZoomMethodZoomRatio
Obsolete.

The application intends to control zoom via CaptureRequest#CONTROL_ZOOM_RATIO android.control.zoomRatio, and the effective zoom level is reflected by CaptureRequest#CONTROL_ZOOM_RATIO android.control.zoomRatio in capture results.

(Inherited from CameraMetadata)
DistortionCorrectionModeFast

Lens distortion correction is applied without reducing frame rate relative to sensor output.

(Inherited from CameraMetadata)
DistortionCorrectionModeHighQuality

High-quality distortion correction is applied, at the cost of possibly reduced frame rate relative to sensor output.

(Inherited from CameraMetadata)
DistortionCorrectionModeOff

No distortion correction is applied.

(Inherited from CameraMetadata)
ExtensionNightModeIndicatorOff
Obsolete.

The camera has detected lighting conditions that are sufficiently bright.

(Inherited from CameraMetadata)
ExtensionNightModeIndicatorOn
Obsolete.

The camera has detected low-light conditions.

(Inherited from CameraMetadata)
ExtensionNightModeIndicatorUnknown
Obsolete.

The camera can't accurately assess the scene's lighting to determine if a Night Mode Camera Extension capture would improve the photo.

(Inherited from CameraMetadata)
InfoDeviceTypeBuiltIn

This camera device is physically a part of this Android device, and the data produced is always within the device's control before it reaches the application requesting it.

(Inherited from CameraMetadata)
InfoDeviceTypeExternal

This camera device is not permanently connected to this Android device.

(Inherited from CameraMetadata)
InfoDeviceTypeUnknown

This camera device has an unknown classification.

(Inherited from CameraMetadata)
InfoDeviceTypeVirtual

This camera device produces purely virtual images, though they may be based on the output of a real hardware camera in some cases.

(Inherited from CameraMetadata)
LensPoseReferenceAutomotive

The value of CameraCharacteristics#LENS_POSE_TRANSLATION android.lens.poseTranslation is relative to the origin of the automotive sensor coordinate system, which is at the center of the rear axle.

(Inherited from CameraMetadata)
LensPoseReferenceGyroscope

The value of CameraCharacteristics#LENS_POSE_TRANSLATION android.lens.poseTranslation is relative to the position of the primary gyroscope of this Android device.

(Inherited from CameraMetadata)
LensPoseReferencePrimaryCamera

The value of CameraCharacteristics#LENS_POSE_TRANSLATION android.lens.poseTranslation is relative to the optical center of the largest camera device facing the same direction as this camera.

(Inherited from CameraMetadata)
LensPoseReferenceUndefined

The camera device cannot represent the values of CameraCharacteristics#LENS_POSE_TRANSLATION android.lens.poseTranslation and CameraCharacteristics#LENS_POSE_ROTATION android.lens.poseRotation accurately enough.

(Inherited from CameraMetadata)
LogicalMultiCameraSensorSyncTypeApproximate

A software mechanism is used to synchronize between the physical cameras.

(Inherited from CameraMetadata)
LogicalMultiCameraSensorSyncTypeCalibrated

The camera device supports frame timestamp synchronization at the hardware level, and the timestamp of a physical stream image accurately reflects its start-of-exposure time.

(Inherited from CameraMetadata)
RequestAvailableCapabilitiesColorSpaceProfiles
Obsolete.

The device supports querying the possible combinations of color spaces, image formats, and dynamic range profiles supported by the camera and requesting a particular color space for a session via android.hardware.camera2.params.SessionConfiguration#setColorSpace .

(Inherited from CameraMetadata)
RequestAvailableCapabilitiesDynamicRangeTenBit
Obsolete.

The device supports one or more 10-bit camera outputs according to the dynamic range profiles specified in android.hardware.camera2.params.DynamicRangeProfiles#getSupportedProfiles .

(Inherited from CameraMetadata)
RequestAvailableCapabilitiesOfflineProcessing
Obsolete.

The camera device supports the OFFLINE_PROCESSING use case.

(Inherited from CameraMetadata)
RequestAvailableCapabilitiesRemosaicReprocessing
Obsolete.

The device supports reprocessing from the RAW_SENSOR format with a bayer pattern given by CameraCharacteristics#SENSOR_INFO_BINNING_FACTOR android.sensor.info.binningFactor (m x n group of pixels with the same color filter) to a remosaiced regular bayer pattern.

(Inherited from CameraMetadata)
RequestAvailableCapabilitiesStreamUseCase
Obsolete.

The camera device supports selecting a per-stream use case via android.hardware.camera2.params.OutputConfiguration#setStreamUseCase so that the device can optimize camera pipeline parameters such as tuning, sensor mode, or ISP settings for a specific user scenario.

(Inherited from CameraMetadata)
RequestAvailableCapabilitiesSystemCamera
Obsolete.

The camera device is only accessible by Android's system components and privileged applications.

(Inherited from CameraMetadata)
RequestAvailableCapabilitiesUltraHighResolutionSensor
Obsolete.

This camera device is capable of producing ultra high resolution images in addition to the image sizes described in the CameraCharacteristics#SCALER_STREAM_CONFIGURATION_MAP android.scaler.streamConfigurationMap.

(Inherited from CameraMetadata)
ScalerAvailableStreamUseCasesCroppedRaw
Obsolete.

Cropped RAW stream when the client chooses to crop the field of view.

(Inherited from CameraMetadata)
ScalerAvailableStreamUseCasesDefault
Obsolete.

Default stream use case.

(Inherited from CameraMetadata)
ScalerAvailableStreamUseCasesPreview
Obsolete.

Live stream shown to the user.

(Inherited from CameraMetadata)
ScalerAvailableStreamUseCasesPreviewVideoStill
Obsolete.

One single stream used for combined purposes of preview, video, and still capture.

(Inherited from CameraMetadata)
ScalerAvailableStreamUseCasesStillCapture
Obsolete.

Still photo capture.

(Inherited from CameraMetadata)
ScalerAvailableStreamUseCasesVideoCall
Obsolete.

Long-running video call optimized for both power efficiency and video quality.

(Inherited from CameraMetadata)
ScalerAvailableStreamUseCasesVideoRecord
Obsolete.

Recording video clips.

(Inherited from CameraMetadata)
ScalerRotateAndCrop180
Obsolete.

Processed images are rotated by 180 degrees.

(Inherited from CameraMetadata)
ScalerRotateAndCrop270
Obsolete.

Processed images are rotated by 270 degrees clockwise, and then cropped to the original aspect ratio.

(Inherited from CameraMetadata)
ScalerRotateAndCrop90
Obsolete.

Processed images are rotated by 90 degrees clockwise, and then cropped to the original aspect ratio.

(Inherited from CameraMetadata)
ScalerRotateAndCropAuto
Obsolete.

The camera API automatically selects the best concrete value for rotate-and-crop based on the application's support for resizability and the current multi-window mode.

(Inherited from CameraMetadata)
ScalerRotateAndCropNone
Obsolete.

No rotate and crop is applied.

(Inherited from CameraMetadata)
SensorPixelModeDefault
Obsolete.

This is the default sensor pixel mode.

(Inherited from CameraMetadata)
SensorPixelModeMaximumResolution
Obsolete.

In this mode, sensors typically do not bin pixels, as a result can offer larger image sizes.

(Inherited from CameraMetadata)
SensorReadoutTimestampHardware
Obsolete.

This camera device supports the onReadoutStarted callback as well as outputting readout timestamps.

(Inherited from CameraMetadata)
SensorReadoutTimestampNotSupported
Obsolete.

This camera device doesn't support readout timestamp and onReadoutStarted callback.

(Inherited from CameraMetadata)
StatisticsOisDataModeOff

Do not include OIS data in the capture result.

(Inherited from CameraMetadata)
StatisticsOisDataModeOn

Include OIS data in the capture result.

(Inherited from CameraMetadata)

Properties

Name Description
AutomotiveLensFacing

A key for the camera's facing direction relative to the vehicle body and passenger seats.

AutomotiveLocation

A key for the camera's location relative to the vehicle body.

AvailableCaptureRequestKeys

Returns the list of keys supported by this CameraDevice for querying with a CaptureRequest.

AvailableCaptureResultKeys

Returns the list of keys supported by this CameraDevice for querying with a CaptureResult.

AvailablePhysicalCameraRequestKeys

Returns a subset of #getAvailableCaptureRequestKeys keys that can be overridden for physical devices backing a logical multi-camera.

AvailableSessionCharacteristicsKeys

Get the keys in Camera Characteristics whose values are capture session specific.

AvailableSessionKeys

Returns a subset of #getAvailableCaptureRequestKeys keys that the camera device can pass as part of the capture session initialization.

Class

Returns the runtime class of this Object.

(Inherited from Object)
ColorCorrectionAvailableAberrationModes

A key for the list of aberration correction modes for CaptureRequest#COLOR_CORRECTION_ABERRATION_MODE android.colorCorrection.aberrationMode that are supported by this camera device.

ColorCorrectionAvailableModes

A key for the color correction modes supported by the camera device.

ColorCorrectionColorTemperatureRange

A key for the supported color temperature range.

ControlAeAvailableAntibandingModes

A key for the list of auto-exposure antibanding modes for CaptureRequest#CONTROL_AE_ANTIBANDING_MODE android.control.aeAntibandingMode that are supported by this camera device.

ControlAeAvailableModes

A key for the list of auto-exposure modes for CaptureRequest#CONTROL_AE_MODE android.control.aeMode that are supported by this camera device.

ControlAeAvailablePriorityModes

A key for the auto-exposure priority modes supported by the camera device.

ControlAeAvailableTargetFpsRanges

A key for the list of frame rate ranges for CaptureRequest#CONTROL_AE_TARGET_FPS_RANGE android.control.aeTargetFpsRange supported by this camera device.

ControlAeCompensationRange

A key for the range of supported auto-exposure compensation values, in compensation steps.

ControlAeCompensationStep

A key for the smallest step by which exposure compensation can change.

ControlAeLockAvailable

A key for whether the camera device supports ControlAeLock.

ControlAfAvailableModes

A key for the list of auto-focus (AF) modes for CaptureRequest#CONTROL_AF_MODE android.control.afMode that are supported by this camera device.

ControlAutoframingAvailable

A key indicating whether the camera device supports auto-framing.

ControlAvailableEffects

A key for the list of color effects for CaptureRequest#CONTROL_EFFECT_MODE android.control.effectMode that are supported by this camera device.

ControlAvailableExtendedSceneModeCapabilities

A key for the list of extended scene modes for CaptureRequest#CONTROL_EXTENDED_SCENE_MODE android.control.extendedSceneMode that are supported by this camera device, and each extended scene mode's capabilities such as maximum streaming size, and supported zoom ratio ranges.

ControlAvailableModes

A key for the list of control modes for CaptureRequest#CONTROL_MODE android.control.mode that are supported by this camera device.

ControlAvailableSceneModes

A key for the list of scene modes for CaptureRequest#CONTROL_SCENE_MODE android.control.sceneMode that are supported by this camera device.

ControlAvailableSettingsOverrides

A key for the settings overrides supported by the camera device.

ControlAvailableVideoStabilizationModes

A key for the list of video stabilization modes for CaptureRequest#CONTROL_VIDEO_STABILIZATION_MODE android.control.videoStabilizationMode that are supported by this camera device.

ControlAwbAvailableModes

A key for the list of auto-white-balance modes for CaptureRequest#CONTROL_AWB_MODE android.control.awbMode that are supported by this camera device.

ControlAwbLockAvailable

A key for whether the camera device supports ControlAwbLock.

ControlLowLightBoostInfoLuminanceRange

A key for the low-light boost operating luminance range, in lux.

ControlMaxRegionsAe

A key for the maximum number of metering regions used by auto-exposure.

ControlMaxRegionsAf

A key for the maximum number of metering regions used by autofocus.

ControlMaxRegionsAwb

A key for the maximum number of metering regions used by auto-white balance.

ControlPostRawSensitivityBoostRange

A key for the supported range of post-RAW sensitivity boosts.

ControlZoomRatioRange

A key for the minimum and maximum supported zoom ratios.

DepthDepthIsExclusive

A key indicating whether a request can target depth and color outputs at the same time.

DistortionCorrectionAvailableModes

A key for the list of distortion correction modes for CaptureRequest#DISTORTION_CORRECTION_MODE android.distortionCorrection.mode that are supported by this camera device.

EdgeAvailableEdgeModes

A key for the list of edge enhancement modes for CaptureRequest#EDGE_MODE android.edge.mode that are supported by this camera device.

FlashInfoAvailable

A key for whether this camera device has a flash unit.

FlashInfoStrengthDefaultLevel

A key for the default flashlight brightness level.

FlashInfoStrengthMaximumLevel

A key for the maximum flashlight brightness level.

FlashSingleStrengthDefaultLevel

A key for the default manual flash brightness level in SINGLE mode.

FlashSingleStrengthMaxLevel

A key for the maximum manual flash brightness level in SINGLE mode.

FlashTorchStrengthDefaultLevel

A key for the default manual flash brightness level in TORCH mode.

FlashTorchStrengthMaxLevel

A key for the maximum manual flash brightness level in TORCH mode.

Handle

The handle to the underlying Android instance.

(Inherited from Object)
HotPixelAvailableHotPixelModes

A key for the list of hot pixel correction modes for CaptureRequest#HOT_PIXEL_MODE android.hotPixel.mode that are supported by this camera device.

InfoDeviceStateSensorOrientationMap

A key for the mapping from device folding state to camera sensor orientation.

InfoDeviceType

A key for the camera device's hardware and image data source classification.

InfoSessionConfigurationQueryVersion

A key for the session configuration query API version.

InfoSupportedHardwareLevel

A key for the camera device's general hardware capability level.

InfoVersion

A key for the manufacturer's version information about the camera device.

JniIdentityHashCode

Gets the Java identity hash code stored for this peer.

(Inherited from Object)
JniManagedPeerState

Gets the state flags last assigned by the runtime.

(Inherited from JavaObject)
JniPeerMembers

Gets the JNI metadata used to access members of this Java binding.

JpegAvailableThumbnailSizes

A key for the list of JPEG thumbnail sizes for CaptureRequest#JPEG_THUMBNAIL_SIZE android.jpeg.thumbnailSize supported by this camera device.

Keys

Returns a list of the keys contained in this map.

(Inherited from CameraMetadata)
KeysNeedingPermission

Returns a subset of the list returned by #getKeys with all keys that require camera clients to obtain the android.Manifest.permission#CAMERA permission.

LensDistortion

A key for the camera's radial and tangential lens-distortion correction coefficients.

LensDistortionMaximumResolution

A key for the lens-distortion correction coefficients in maximum-resolution mode.

LensFacing

A key for the direction the camera faces relative to the device screen.

LensInfoAvailableApertures

A key for the list of aperture size values for CaptureRequest#LENS_APERTURE android.lens.aperture that are supported by this camera device.

LensInfoAvailableFilterDensities

A key for the list of neutral density filter values for CaptureRequest#LENS_FILTER_DENSITY android.lens.filterDensity that are supported by this camera device.

LensInfoAvailableFocalLengths

A key for the list of focal lengths for CaptureRequest#LENS_FOCAL_LENGTH android.lens.focalLength that are supported by this camera device.

LensInfoAvailableOpticalStabilization

A key for the list of optical image stabilization (OIS) modes for CaptureRequest#LENS_OPTICAL_STABILIZATION_MODE android.lens.opticalStabilizationMode that are supported by this camera device.

LensInfoFocusDistanceCalibration

A key for the quality of lens focus-distance calibration.

LensInfoHyperfocalDistance

A key for the lens hyperfocal distance.

LensInfoMinimumFocusDistance

A key for the shortest distance from the front of the lens that can be brought into sharp focus.

LensIntrinsicCalibration

A key for the camera's intrinsic calibration parameters.

LensIntrinsicCalibrationMaximumResolution

A key for the lens intrinsic calibration parameters in maximum-resolution mode.

LensPoseReference

A key for the lens-pose translation origin and the accuracy of translation and rotation.

LensPoseRotation

A key for the camera orientation relative to the sensor coordinate system.

LensPoseTranslation

A key for the position of the camera optical center.

LensRadialDistortion

A key for the camera's radial and tangential lens-distortion correction coefficients.

LogicalMultiCameraSensorSyncType

A key for the accuracy of frame-timestamp synchronization between physical cameras.

NoiseReductionAvailableNoiseReductionModes

A key for the list of noise reduction modes for CaptureRequest#NOISE_REDUCTION_MODE android.noiseReduction.mode that are supported by this camera device.

PeerReference

Gets the JNI object reference for this Java peer.

(Inherited from Object)
PhysicalCameraIds

Returns the set of physical camera ids that this logical CameraDevice is made up of.

ReprocessMaxCaptureStall

A key for the maximum capture-pipeline stall introduced by a reprocess request, in frames.

RequestAvailableCapabilities

A key for the list of capabilities that this camera device advertises as fully supporting.

RequestAvailableColorSpaceProfiles

A key for the color space profiles supported by the camera device.

RequestAvailableDynamicRangeProfiles

A key for supported dynamic range profiles and profile combination constraints.

RequestMaxNumInputStreams

A key for the maximum number of input streams that can be used at the same time.

RequestMaxNumOutputProc

A key for the maximum number of processed, non-stalling output streams that can be used at the same time.

RequestMaxNumOutputProcStalling

A key for the maximum number of processed, stalling output streams that can be used at the same time.

RequestMaxNumOutputRaw

A key for the maximum number of RAW output streams that can be used at the same time.

RequestPartialResultCount

A key for the number of subcomponents in a capture result.

RequestPipelineMaxDepth

A key for the maximum number of pipeline stages from frame exposure to availability to the framework.

RequestRecommendedTenBitDynamicRangeProfile

A key for the recommended 10-bit dynamic range profile.

ScalerAvailableMaxDigitalZoom

A key for the maximum ratio between the active-area and crop-region widths and heights.

ScalerAvailableRotateAndCropModes

A key for the list of rotate-and-crop modes for CaptureRequest#SCALER_ROTATE_AND_CROP android.scaler.rotateAndCrop that are supported by this camera device.

ScalerAvailableStreamUseCases

A key for the stream use cases supported by the camera device.

ScalerCroppingType

A key for the crop type supported by the camera device.

ScalerDefaultSecureImageSize

A key for the default YUV or PRIVATE size for requesting secure image buffers.

ScalerMandatoryConcurrentStreamCombinations

A key for the array of mandatory concurrent stream combinations.

ScalerMandatoryMaximumResolutionStreamCombinations

A key for the mandatory stream combinations in maximum-resolution mode.

ScalerMandatoryPreviewStabilizationOutputStreamCombinations

A key for the mandatory stream combinations for preview stabilization.

ScalerMandatoryStreamCombinations

A key for the mandatory stream combinations for the camera device.

ScalerMandatoryTenBitOutputStreamCombinations

A key for the mandatory stream combinations for 10-bit output.

ScalerMandatoryUseCaseStreamCombinations

A key for the mandatory stream combinations with stream use cases.

ScalerMultiResolutionStreamConfigurationMap

A key for the multi-resolution stream configurations supported by a logical camera or ultra-high-resolution sensor.

ScalerStreamConfigurationMap

A key for supported stream configurations and their minimum frame and stall durations.

ScalerStreamConfigurationMapMaximumResolution

A key for supported stream configurations and their minimum frame and stall durations in maximum-resolution mode.

SensorAvailableTestPatternModes

A key for the list of sensor test pattern modes for CaptureRequest#SENSOR_TEST_PATTERN_MODE android.sensor.testPatternMode supported by this camera device.

SensorBlackLevelPattern

A key for the fixed black-level offsets of the color-filter mosaic channels.

SensorCalibrationTransform1

A key for the per-device matrix from reference sensor color space to device sensor color space.

SensorCalibrationTransform2

A key for the per-device matrix from reference sensor color space to device sensor color space, the color space of raw buffer data.

SensorColorTransform1

A key for the matrix from CIE XYZ color space to reference sensor color space.

SensorColorTransform2

A key for the matrix from CIE XYZ color space to reference sensor color space.

SensorForwardMatrix1

A key for the matrix from white-balanced reference sensor colors to CIE XYZ color space with a D50 whitepoint.

SensorForwardMatrix2

A key for the matrix from white-balanced reference sensor colors to CIE XYZ color space with a D50 whitepoint.

SensorInfoActiveArraySize

A key for the active pixel area after geometric distortion correction.

SensorInfoActiveArraySizeMaximumResolution

A key for the active pixel area after geometric distortion correction in maximum-resolution mode.

SensorInfoBinningFactor

A key for the dimensions of the pixel group under the same color filter.

SensorInfoColorFilterArrangement

A key for the top-left 2-by-2 color-filter arrangement of a Bayer sensor or the light spectrum of a monochrome sensor.

SensorInfoExposureTimeRange

A key for the supported range of image exposure times.

SensorInfoLensShadingApplied

A key indicating whether the camera's RAW output has lens shading correction applied.

SensorInfoMaxFrameDuration

A key for the maximum supported frame duration, which corresponds to the minimum frame rate.

SensorInfoPhysicalSize

A key for the physical dimensions of the full pixel array.

SensorInfoPixelArraySize

A key for the dimensions of the full pixel array, which can include black calibration pixels.

SensorInfoPixelArraySizeMaximumResolution

A key for the full pixel-array dimensions in maximum-resolution mode, which can include black calibration pixels.

SensorInfoPreCorrectionActiveArraySize

A key for the active pixel area before geometric distortion correction.

SensorInfoPreCorrectionActiveArraySizeMaximumResolution

A key for the active pixel area before geometric distortion correction in maximum-resolution mode.

SensorInfoSensitivityRange

A key for the range of SensorSensitivity values supported by this camera device.

SensorInfoTimestampSource

A key for the time base of sensor capture-start timestamps.

SensorInfoWhiteLevel

A key for the maximum raw value output by the sensor.

SensorMaxAnalogSensitivity

A key for the maximum sensitivity implemented purely through analog gain.

SensorOpticalBlackRegions

A key for the list of disjoint rectangles indicating the sensor optically shielded black pixel regions.

SensorOrientation

A key for the clockwise rotation needed to make the output image upright on the device screen in its native orientation.

SensorReadoutTimestamp

A key indicating support for sensor readout timestamps and the readout-started callback.

SensorReferenceIlluminant1

A key for the standard reference illuminant used to calculate the first sensor color, calibration, and forward matrices.

SensorReferenceIlluminant2

A key for the standard reference illuminant used to calculate the second sensor color, calibration, and forward matrices.

ShadingAvailableModes

A key for the list of lens shading modes for CaptureRequest#SHADING_MODE android.shading.mode that are supported by this camera device.

StatisticsInfoAvailableFaceDetectModes

A key for the list of face detection modes for CaptureRequest#STATISTICS_FACE_DETECT_MODE android.statistics.faceDetectMode that are supported by this camera device.

StatisticsInfoAvailableHotPixelMapModes

A key for the list of hot pixel map output modes for CaptureRequest#STATISTICS_HOT_PIXEL_MAP_MODE android.statistics.hotPixelMapMode that are supported by this camera device.

StatisticsInfoAvailableLensShadingMapModes

A key for the list of lens shading map output modes for CaptureRequest#STATISTICS_LENS_SHADING_MAP_MODE android.statistics.lensShadingMapMode that are supported by this camera device.

StatisticsInfoAvailableOisDataModes

A key for the list of OIS data output modes for CaptureRequest#STATISTICS_OIS_DATA_MODE android.statistics.oisDataMode that are supported by this camera device.

StatisticsInfoMaxFaceCount

A key for the maximum number of faces that can be detected at the same time.

SyncMaxLatency

A key for the maximum number of frames between submission of a changed request and synchronization of the result state.

ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from CameraMetadata)
ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from CameraMetadata)
TonemapAvailableToneMapModes

A key for the list of tonemapping modes for CaptureRequest#TONEMAP_MODE android.tonemap.mode that are supported by this camera device.

TonemapMaxCurvePoints

A key for the maximum number of points supported in the tonemap curve.

Methods

Name Description
Clone()

Creates and returns a copy of this object.

(Inherited from Object)
Construct(JniObjectReference, JniObjectReferenceOptions)

Delegates construction of this peer to the runtime's value manager.

(Inherited from JavaObject)
Dispose()

Releases the JNI reference held by this managed peer and unregisters the peer from the interop runtime.

(Inherited from Object)
Dispose(Boolean)

Provides a disposal hook for subclasses. This implementation performs no action.

(Inherited from Object)
DisposeUnlessReferenced()

Asks the value manager to dispose this peer unless its mapping retains this same managed instance.

(Inherited from JavaObject)
Equals(Object)

Tests whether another managed peer refers to the same Java object.

(Inherited from JavaObject)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
Get(CameraCharacteristics+Key)

Get a camera characteristics field value.

GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
GetRecommendedStreamConfigurationMap(UsecaseMode)

Retrieve camera device recommended stream configuration map RecommendedStreamConfigurationMap for a given use case.

JavaFinalize()
Obsolete.

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetPeerReference(JniObjectReference, JniObjectReferenceOptions)

Stores a reference value in the control block without creating a JNI reference copy.

(Inherited from JavaObject)
ToArray<T>()

Creates a managed array from this Java array wrapper.

(Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime()

Unregisters this Java peer from the interop runtime.

(Inherited from Object)
Wait()

Causes the current thread to wait until it is awakened, typically by being notified or interrupted.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

(Inherited from Object)

Explicit Interface Implementations

Name Description
IJavaPeerable.Disposed()

Marks this peer as disposed and calls Dispose with disposing set to true.

(Inherited from JavaObject)
IJavaPeerable.Finalized()

Marks this peer as disposed and calls Dispose with disposing set to false.

(Inherited from JavaObject)
IJavaPeerable.JniObjectReferenceControlBlock

Gets the native control-block pointer used by this peer.

(Inherited from JavaObject)
IJavaPeerable.SetJniIdentityHashCode(Int32)

Stores the identity hash code supplied by the runtime.

(Inherited from JavaObject)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates)

Replaces the stored managed peer state flags.

(Inherited from JavaObject)
IJavaPeerable.SetPeerReference(JniObjectReference)

Updates the peer reference and releases a disposed peer's control block when the reference is invalid.

(Inherited from JavaObject)

Extension Methods

Name Description
GetJniTypeName(IJavaPeerable)

Gets the JNI name of the type of the instance self.

JavaAs<TResult>(IJavaPeerable)

Try to coerce self to type TResult, checking that the coercion is valid on the Java side.

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)

Reuses a compatible managed peer or obtains a wrapper of the requested type.

TryJavaCast<TResult>(IJavaPeerable, TResult)

Try to coerce self to type TResult, checking that the coercion is valid on the Java side.

Applies to