Android 12 Developer Preview is here! Try it out, and give us your feedback!

androidx.camera.view

Classes

CameraController The abstract base camera controller class. 
CameraView A View that displays a preview of the camera with methods takePicture(Executor, OnImageCapturedCallback), takePicture(ImageCapture.OutputFileOptions, Executor, OnImageSavedCallback), startRecording(File, Executor, OnVideoSavedCallback) and stopRecording()
LifecycleCameraController A controller that provides most of the CameraX features. 
PreviewView Custom View that displays the camera feed for CameraX's Preview use case. 

Enums

CameraView.CaptureMode The capture mode used by CameraView. 
PreviewView.ImplementationMode The implementation mode of a PreviewView
PreviewView.ScaleType Options for scaling the preview vis-à-vis its container PreviewView
PreviewView.StreamState Definitions for the preview stream state.