package

androidx.camera.view

Interfaces

PreviewView.OnFrameUpdateListenerListener to be notified when the frame is updated.
RotationProvider.ListenerCallback interface to receive rotation updates.

Classes

CameraControllerThe abstract base camera controller class.
CameraController.OutputSizeRepresents the output size of a UseCase.
CameraViewA View that displays a preview of the camera with methods CameraView, CameraView, CameraView.startRecording(File, Executor, OnVideoSavedCallback) and CameraView.stopRecording().
LifecycleCameraControllerA controller that provides most of the CameraX features.
PreviewViewCustom View that displays the camera feed for CameraX's Preview use case.
RotationProviderProvider for receiving rotation updates from the when the rotation of the device has changed.
ScreenFlashViewCustom View that implements a basic UI for screen flash photo capture.
SensorRotationListenerListens to motion sensor reading and converts the orientation degrees to rotation.
TextureViewMeteringPointFactoryA MeteringPointFactory for creating a MeteringPoint by TextureView and (x,y).
TransformUtilsUtility class for transform.

Enums

CameraView.CaptureModeThe capture mode used by CameraView.
PreviewView.ImplementationModeThe implementation mode of a PreviewView.
PreviewView.ScaleTypeOptions for scaling the preview vis-à-vis its container PreviewView.
PreviewView.StreamStateDefinitions for the preview stream state.

Annotation Types

CameraController.OutputSize.OutputAspectRatioPossible value for CameraController.OutputSize.getAspectRatio()
CameraController.UseCasesBitmask options to enable/disable use cases.
ExperimentalPreviewViewScreenFlashDenotes that the annotated API is designed to be experimental for the screen flash feature and may change in a future release.
TransformExperimentalDenotes that the API uses experimental transform APIs.