Google is committed to advancing racial equity for Black communities. See how.

androidx.camera.core

Classes

AspectRatio

The aspect ratio of the use case.

CameraSelector

A set of requirements and priorities used to select a camera.

CameraXConfig

A configuration for adding implementation and user-specific behavior to CameraX.

DisplayOrientedMeteringPointFactory

A MeteringPointFactory that can convert a View (x, y) into a MeteringPoint which can then be used to construct a FocusMeteringAction to start a focus and metering action.

FocusMeteringAction

A configuration used to trigger a focus and/or metering action.

FocusMeteringResult

Result of the CameraControl#startFocusAndMetering(FocusMeteringAction).

ImageAnalysis

A use case providing CPU accessible images for an app to perform image analysis on.

ImageCapture

A use case for taking a picture.

MeteringPoint

A is used to specify a region which can then be converted to sensor coordinate system for focus and metering purpose.

MeteringPointFactory

A factory to create a MeteringPoint.

Preview

A use case that provides a camera preview stream for displaying on-screen.

SurfaceOrientedMeteringPointFactory

A MeteringPointFactory that can create MeteringPoint by surface oriented x, y on an area defined by (0, 0) - (width, height).

SurfaceRequest

A completable, single-use request of a Surface.

TorchState

The camera flash torch state.

UseCase

The use case which all other use cases are built on top of.

UseCaseGroup

Represents a collection of UseCase.

ViewPort

The FOV of one or many UseCases.

Exceptions

CameraInfoUnavailableException

An exception thrown when unable to retrieve information about a camera.

CameraUnavailableException

CameraUnavailableException is thrown when a camera device could not be queried or opened or if the connection to an opened camera device is no longer valid.

ImageCaptureException

An exception thrown to indicate an error has occurred during image capture or while saving the captured image.

InitializationException

InitializationException is thrown when a failure occurs during an initialization process.

Annotations

ExperimentalCameraFilter

Denotes that the annotated method uses an experimental API that customizes camera filters to select a specific camera.

ExperimentalCustomizableThreads

Denotes that the annotated method uses an experimental API that swaps the default threading implementation with a user-defined threading implementation.

ExperimentalGetImage

Denotes that the annotated method uses the experimental ImageProxy#getImage() method.

ExperimentalUseCaseGroup

Denotes that the annotated classes and methods uses the experimental feature which provides a grouping mechanism for UseCases.