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

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.