Language

CaptureResult Class

Definition

The subset of the results of a single image capture from the image sensor.

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

Remarks

The subset of the results of a single image capture from the image sensor.

Contains a subset of the final configuration for the capture hardware (sensor, lens, flash), the processing pipeline, the control algorithms, and the output buffers.

CaptureResults are produced by a CameraDevice after processing a CaptureRequest. All properties listed for capture requests can also be queried on the capture result, to determine the final values used for capture. The result also includes additional metadata about the state of the camera device during the capture.

Not all properties returned by CameraCharacteristics#getAvailableCaptureResultKeys() are necessarily available. Some results are CaptureResult partial and will not have every key set. Only TotalCaptureResult total results are guaranteed to have every key available that was enabled by the request.

CaptureResult objects are immutable.

Java documentation for android.hardware.camera2.CaptureResult.

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.

Constructors

Name Description
CaptureResult(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

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
BlackLevelLock

A key for the reported black-level compensation lock state.

CameraId

Get the camera ID of the camera that produced this capture result.

Class

Returns the runtime class of this Object.

(Inherited from Object)
ColorCorrectionAberrationMode

A key for the reported chromatic aberration correction mode.

ColorCorrectionColorTemperature

A key for the reported color temperature in kelvin for color-temperature mode.

ColorCorrectionColorTint

A key for the reported color tint for color-temperature mode.

ColorCorrectionGains

A key for the reported Bayer raw color-channel gains for white balance.

ColorCorrectionMode

A key for the reported mode for converting sensor color to linear sRGB.

ColorCorrectionTransform

A key for the reported color transform matrix from sensor RGB to linear sRGB.

ControlAeAntibandingMode

A key for the reported auto-exposure antibanding mode.

ControlAeExposureCompensation

A key for the reported auto-exposure target brightness adjustment.

ControlAeLock

A key indicating whether auto-exposure is locked to its latest calculated values.

ControlAeMode

A key for the reported auto-exposure mode.

ControlAePrecaptureTrigger

A key for the reported auto-exposure precapture trigger.

ControlAePriorityMode

A key for the reported auto-exposure priority mode.

ControlAeRegions

A key for the list of metering areas to use for auto-exposure adjustment.

ControlAeState

A key for the current state of the auto-exposure (AE) algorithm.

ControlAeTargetFpsRange

A key for the reported auto-exposure target frame-rate range.

ControlAfMode

A key for the reported autofocus mode.

ControlAfRegions

A key for the list of metering areas to use for auto-focus.

ControlAfSceneChange

A key indicating whether a significant scene change was detected within the autofocus regions.

ControlAfState

A key for the current state of the auto-focus (AF) algorithm.

ControlAfTrigger

A key for the reported autofocus trigger.

ControlAutoframing

A key for the reported auto-framing mode.

ControlAutoframingState

A key for the current state of auto-framing.

ControlAwbLock

A key indicating whether auto-white balance is locked to its latest calculated values.

ControlAwbMode

A key for the reported auto-white balance mode.

ControlAwbRegions

A key for the list of metering areas to use for auto-white-balance illuminant estimation.

ControlAwbState

A key for the current state of the auto-white balance (AWB) algorithm.

ControlCaptureIntent

A key for the reported capture intent for the auto-exposure, autofocus, and auto-white balance routines.

ControlEffectMode

A key for the reported special color effect.

ControlEnableZsl

A key for the reported zero-shutter-lag setting for still-capture requests.

ControlExtendedSceneMode

A key for the reported extended scene mode.

ControlLowLightBoostState

A key for the current state of low-light boost.

ControlMode

A key for the reported overall mode of auto-exposure, auto-white balance, and autofocus control.

ControlPostRawSensitivityBoost

A key for the reported sensitivity boost applied after RAW sensor data is captured.

ControlSceneMode

A key for the reported scene mode.

ControlSettingsOverride

A key indicating whether a newer request overrode this capture's settings.

ControlVideoStabilizationMode

A key for the reported video stabilization mode.

ControlZoomMethod

A key for the reported zoom control method.

ControlZoomRatio

A key for the reported zoom ratio.

DistortionCorrectionMode

A key for the reported lens distortion correction mode.

EdgeMode

A key for the reported edge enhancement mode.

ExtensionCurrentType

A key for the type of the currently active camera extension.

ExtensionNightModeIndicator

A key indicating whether a night-mode camera extension could improve a capture.

ExtensionStrength

A key for the reported strength of the camera extension post-processing effect.

FlashMode

A key for the reported flash control mode.

FlashState

A key for the current state of the flash unit.

FlashStrengthLevel

A key for the reported manual flash brightness level.

FrameNumber

Get the frame number associated with this result.

Handle

The handle to the underlying Android instance.

(Inherited from Object)
HotPixelMode

A key for the reported hot-pixel correction mode.

InfoDeviceType

A key for the hardware and image data source classification for the camera output frame.

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.

JpegGpsLocation

A key for the reported location used for JPEG GPS metadata.

JpegOrientation

A key for the reported JPEG image orientation.

JpegQuality

A key for the reported JPEG image compression quality.

JpegThumbnailQuality

A key for the reported JPEG thumbnail compression quality.

JpegThumbnailSize

A key for the reported JPEG thumbnail resolution.

Keys

Returns a list of the keys contained in this map.

(Inherited from CameraMetadata)
LensAperture

A key for the reported lens aperture size as a ratio of focal length to effective aperture diameter.

LensDistortion

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

LensFilterDensity

A key for the reported lens neutral-density filter setting.

LensFocalLength

A key for the reported lens focal length.

LensFocusDistance

A key for the reported distance from the front of the lens to the plane of sharpest focus.

LensFocusRange

A key for the range of scene distances in sharp focus.

LensIntrinsicCalibration

A key for the camera's intrinsic calibration parameters.

LensOpticalStabilizationMode

The key for the optical image stabilization mode reported by the camera device.

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 radial and tangential lens-distortion correction coefficients.

LensState

A key for the current lens status.

LogicalMultiCameraActivePhysicalId

A key for the ID of the active underlying physical camera.

LogicalMultiCameraActivePhysicalSensorCropRegion

A key for the active physical sensor region read out for this capture.

LogicalMultiCameraAdditionalResults

A key for the control for returning additional physical-camera metadata in capture results.

NoiseReductionMode

A key for the reported noise reduction mode.

PeerReference

Gets the JNI object reference for this Java peer.

(Inherited from Object)
ReprocessEffectiveExposureFactor

A key for the reported exposure increase factor applied by the application before reprocessing.

Request

Get the request associated with this result.

RequestPipelineDepth

A key for the number of pipeline stages from frame exposure to availability of the completed result.

ScalerCropRegion

A key for the reported sensor region to read out.

ScalerRawCropRegion

A key for the sensor region corresponding to the RAW readout for a CROPPED_RAW stream.

ScalerRotateAndCrop

A key for the reported rotation-and-crop mode for processed outputs.

SensorDynamicBlackLevel

A key for the per-frame black-level offset for each color-filter mosaic channel.

SensorDynamicWhiteLevel

A key for the maximum raw sensor value for the frame.

SensorExposureTime

A key for the reported duration each pixel is exposed to light.

SensorFrameDuration

A key for the reported duration, in nanoseconds, between the start of one frame readout and the next.

SensorGreenSplit

A key for the worst-case divergence between Bayer green channels.

SensorNeutralColorPoint

A key for the estimated camera neutral color in the native sensor color space at capture.

SensorNoiseProfile

A key for the noise-model coefficients for each color-filter mosaic channel.

SensorPixelMode

A key for the reported sensor pixel mode, either default or maximum resolution.

SensorRawBinningFactorUsed

A key indicating whether requested RAW images have the Bayer pattern described by the sensor binning factor.

SensorRollingShutterSkew

A key for the time between the start of exposure of the first sensor row and the start of exposure of one row past the last.

SensorSensitivity

A key for the reported amount of gain applied to sensor data before processing.

SensorTestPatternData

A key for the reported pixel [R, G_even, G_odd, B] used for the test pattern in SolidColor mode.

SensorTestPatternMode

A key for the reported sensor test-pattern mode. When enabled, the sensor sends a test pattern instead of a real exposure.

SensorTimestamp

A key for the start time, in nanoseconds, of exposure of the first row of the image sensor active array.

SequenceId

The sequence ID for this failure that was returned by the CameraCaptureSession#capture family of functions.

ShadingMode

A key for the reported lens shading correction quality.

StatisticsFaceDetectMode

A key for the reported face detector operating mode.

StatisticsFaces

A key for the list of faces detected through camera face detection in this capture.

StatisticsHotPixelMap

A key for the coordinates of hot or defective pixels on the sensor.

StatisticsHotPixelMapMode

A key for the reported hot-pixel map generation mode.

StatisticsLensIntrinsicsSamples

A key for the array of intra-frame lens intrinsic samples.

StatisticsLensShadingCorrectionMap

A key for the low-resolution map of vignetting correction coefficients for each Bayer color channel.

StatisticsLensShadingMapMode

A key for the reported lens shading map output mode.

StatisticsOisDataMode

A key for the reported optical stabilization position-information output mode.

StatisticsOisSamples

A key for the array of optical stabilization (OIS) position samples.

StatisticsSceneFlicker

A key for the estimated scene illumination frequency.

ThresholdClass

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

ThresholdType

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

TonemapCurve

A key for the reported tonemapping curve for contrast-curve mode.

TonemapGamma

A key for the reported tonemapping gamma value.

TonemapMode

A key for the reported tonemapping mode.

TonemapPresetCurve

A key for the reported preset tonemapping 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(CaptureResult+Key)

Get a capture result field value.

GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
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