androidx.camera.core
Annotations
ExperimentalGetImage |
Denotes that the annotated method uses the experimental |
ExperimentalImageCaptureOutputFormat |
Denotes that the annotated method uses an experimental path for configuring output format of |
ExperimentalLensFacing |
Denotes that the annotated API is designed to be used with a lens facing that its behavior hasn't been verified thoroughly. |
ExperimentalMirrorMode |
Denotes that the annotated API is designed to be experimental for |
ExperimentalRetryPolicy |
Indicates that the annotated API uses the experimental |
ExperimentalUseCaseApi |
Denotes that the methods on use cases and use case builders are experimental and may change in a future release |
ExperimentalZeroShutterLag |
Denotes that the annotated API uses the experimental zero-shutter lag capture mode in |
Interfaces
Camera |
The camera interface is used to control the flow of data to use cases, control the camera via the |
CameraControl |
The |
CameraFilter |
An interface for filtering cameras. |
CameraInfo |
An interface for retrieving camera information. |
CameraProvider |
A |
CameraXConfig.Provider |
An interface which can be implemented to provide the configuration for CameraX. |
ExposureState |
An interface which contains the camera exposure related information. |
ExtendableBuilder |
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. |
ImageCapture.ScreenFlash |
Interface to do the application changes required for screen flash operations. |
ImageCapture.ScreenFlashListener |
Callback listener for discovering when the application has completed its changes for a screen flash image capture. |
ImageCaptureCapabilities |
ImageCaptureCapabilities is used to query |
ImageInfo |
Metadata for an image. |
ImageProcessor |
Post-processing effect for images. |
ImageProcessor.Request |
A request for processing one or multiple |
ImageProcessor.Response |
A response for returning a processed |
ImageProxy |
An image proxy which has a similar interface as |
ImageProxy.PlaneProxy |
A plane proxy which has an analogous interface as |
Preview.SurfaceProvider |
A interface implemented by the application to provide a |
PreviewCapabilities |
PreviewCapabilities is used to query |
RetryPolicy |
Defines a strategy for retrying upon initialization failures of the |
RetryPolicy.ExecutionState |
Provides insights into the current execution state of the camera initialization process. |
SurfaceOutput |
A |
SurfaceProcessor |
Interface to implement a GPU-based post-processing effect. |
SurfaceRequest.TransformationInfoListener |
Listener that receives updates of the |
ZoomState |
An interface which contains the zoom related information from a camera. |
Classes
AspectRatio |
The aspect ratio of the use case. |
CameraEffect |
An effect for one or multiple camera outputs. |
CameraSelector |
A set of requirements and priorities used to select a camera or return a filtered set of cameras. |
CameraSelector.Builder |
Builder for a |
CameraState |
Represents the different states the camera can be in. |
CameraState.StateError |
Error that the camera has encountered. |
CameraXConfig |
A configuration for adding implementation and user-specific behavior to CameraX. |
CameraXConfig.Builder |
A builder for generating |
CompositionSettings |
Composition settings for dual concurrent camera. |
CompositionSettings.Builder |
A builder for |
ConcurrentCamera |
Concurrent camera is a new feature introduced from Android 11, which supports simultaneous streaming of camera devices, for example, it allows a device to have both the front and back cameras operating at the same time. |
ConcurrentCamera.SingleCameraConfig |
Configuration for a single camera in concurrent camera mode, including |
DisplayOrientedMeteringPointFactory |
A |
DynamicRange |
A representation of the dynamic range of an image. |
FocusMeteringAction |
A configuration used to trigger a focus and/or metering action. |
FocusMeteringAction.Builder |
The builder used to create the |
FocusMeteringResult |
Result of the |
ImageAnalysis |
A use case providing CPU accessible images for an app to perform image analysis on. |
ImageAnalysis.Builder |
Builder for a |
ImageCapture |
A use case for taking a picture. |
ImageCapture.Builder |
Builder for an |
ImageCapture.Metadata |
Holder class for metadata that will be saved with captured images. |
ImageCapture.OnImageCapturedCallback |
Callback for image capture events. |
ImageCapture.OutputFileOptions |
Options for saving newly captured image. |
ImageCapture.OutputFileOptions.Builder |
Builder class for |
ImageCapture.OutputFileResults |
Info about the saved image file. |
ImageCaptureExtKt |
|
ImageCaptureLatencyEstimate |
An immutable representation of the estimated duration an image capture will take capturing and processing the current scene according to the scene's lighting condition and/or camera configuration. |
MeteringPoint |
A |
MeteringPointFactory |
A factory to create a |
MirrorMode |
The mirror mode. |
Preview |
A use case that provides a camera preview stream for displaying on-screen. |
Preview.Builder |
Builder for a |
ResolutionInfo |
A |
RetryPolicy.Builder |
A builder class for customizing RetryPolicy behavior. |
RetryPolicy.RetryConfig |
Represents the outcome of a |
RetryPolicy.RetryConfig.Builder |
A builder class for creating and customizing |
SurfaceOrientedMeteringPointFactory |
A |
SurfaceOutput.Event |
Events of the |
SurfaceRequest |
A completable, single-use request of a |
SurfaceRequest.Result |
Result of providing a surface to a |
SurfaceRequest.TransformationInfo |
Transformation associated the preview output. |
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 |
UseCaseGroup.Builder |
A builder for generating |
ViewPort |
The field of view of one or many |
ViewPort.Builder |
Builder for |
Enums
CameraState.ErrorType |
Types of errors the camera can encounter. |
CameraState.Type |
States the camera can be in. |
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. |
CameraUnavailableException |
|
ImageCaptureException |
An exception thrown to indicate an error has occurred during image capture or while saving the captured image. |
InitializationException |
|
ProcessingException |
Exception throw when effects post-processing fails. |