Skip to content

Most visited

Recently visited



public final class TotalCaptureResult
extends CaptureResult

   ↳ android.hardware.camera2.CameraMetadata<android.hardware.camera2.CaptureResult.Key<?>>
     ↳ android.hardware.camera2.CaptureResult
       ↳ android.hardware.camera2.TotalCaptureResult

The total assembled results of a single image capture from the image sensor.

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

A TotalCaptureResult is 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.

All properties returned by getAvailableCaptureResultKeys() are available (that is get(CaptureResult.Key) will return non-null, if and only if that key that was enabled by the request. A few keys such as STATISTICS_FACES are disabled by default unless enabled with a switch (such as STATISTICS_FACE_DETECT_MODE). Refer to each key documentation on a case-by-case basis.

TotalCaptureResult objects are immutable.

See also:


Inherited constants

From class android.hardware.camera2.CameraMetadata

Inherited fields

From class android.hardware.camera2.CaptureResult

Public methods

List<CaptureResult> getPartialResults()

Get the read-only list of partial results that compose this total result.

Inherited methods

From class android.hardware.camera2.CaptureResult
From class android.hardware.camera2.CameraMetadata
From class java.lang.Object

Public methods


added in API level 21
List<CaptureResult> getPartialResults ()

Get the read-only list of partial results that compose this total result.

The list is returned is unmodifiable; attempting to modify it will result in a UnsupportedOperationException being thrown.

The list size will be inclusive between 0 and REQUEST_PARTIAL_RESULT_COUNT, with elements in ascending order of when onCaptureProgressed(CameraCaptureSession, CaptureRequest, CaptureResult) was invoked.

List<CaptureResult> unmodifiable list of partial results

This value will never be null.

This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields


Follow Google Developers on WeChat

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience. (Dec 2017 Android Platform & Tools Survey)