androidx.camera.core

Annotations

AspectRatio The aspect ratio of the use case. 
ExperimentalGetImage Denotes that the annotated method uses the experimental ImageProxy.getImage() method. 
FlashMode The flash mode options when taking a picture using ImageCapture. 
FocusMeteringAction.MeteringMode Focus/Metering mode used to specify which 3A regions is activated for corresponding MeteringPoint
ImageAnalysis.BackpressureStrategy How to apply backpressure to the source producing images for analysis. 
ImageCapture.CaptureMode Capture mode options for ImageCapture. 
ImageCapture.ImageCaptureError Describes the error that occurred during an image capture operation (such as ImageCapture.takePicture(Executor, OnImageCapturedCallback)). 
LensFacing The direction the camera faces relative to device screen. 
TorchState The camera flash torch state. 

Interfaces

Camera The camera interface is used to control the flow of data to use cases, control the camera via the CameraControl, and publish the state of the camera via CameraInfo
CameraControl The CameraControl provides various asynchronous operations like zoom, focus and metering which affects output of all UseCases currently bound to that camera. 
CameraInfo An interface for retrieving camera information. 
CameraXConfig.Provider An interface which can be implemented to provide the configuration for CameraX. 
ExtendableBuilder<T> Extendable builders are used to add externally defined options that can be passed to the implementation being built. 
ImageAnalysis.Analyzer Interface for analyzing images. 
ImageCapture.OnImageSavedCallback Listener containing callbacks for image file I/O events. 
ImageInfo Metadata for an image. 
ImageProxy An image proxy which has a similar interface as Image
ImageProxy.PlaneProxy A plane proxy which has an analogous interface as Image.Plane
Preview.PreviewSurfaceProvider A interface implemented by the application to provide a Surface for Preview

Classes

CameraSelector A set of requirements and priorities used to select a camera. 
CameraSelector.Builder Builder for a CameraSelector
CameraXConfig A configuration for adding implementation and user-specific behavior to CameraX. 
CameraXConfig.Builder A builder for generating CameraXConfig objects. 
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. 
FocusMeteringAction.Builder The builder used to create the FocusMeteringAction
FocusMeteringResult Result of the CameraControl.startFocusAndMetering(FocusMeteringAction)
ImageAnalysis A use case providing CPU accessible images for an app to perform image analysis on. 
ImageAnalysis.Builder Builder for a ImageAnalysis
ImageCapture A use case for taking a picture. 
ImageCapture.Builder Builder for an ImageCapture
ImageCapture.Metadata Holder class for metadata that will be saved with captured images. 
ImageCapture.OnImageCapturedCallback Callback for when an image capture has completed. 
MeteringPoint A MeteringPoint 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. 
Preview.Builder Builder for a Preview
SurfaceOrientedMeteringPointFactory A MeteringPointFactory that can create MeteringPoint by surface oriented x, y on a area defined by (0, 0) - (width, height). 
UseCase The use case which all other use cases are built on top of. 

Exceptions

CameraControl.OperationCanceledException An exception representing a failure that the operation is canceled which might be caused by a new value is set or camera is closed. 
CameraInfoUnavailableException An exception thrown when unable to retrieve information about a camera.