Stay organized with collections
Save and categorize content based on your preferences.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
[null,null,["Last updated 2025-05-15 UTC."],[],[],null,["# androidx.camera.view\n====================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/androidx/camera/view/package-summary \"View this page in Kotlin\") \\|Java\n\nInterfaces\n----------\n\n|----------------------------------------------------------------------------------------|-------------------------------------------------|\n| [RotationProvider.Listener](/reference/androidx/camera/view/RotationProvider.Listener) | Callback interface to receive rotation updates. |\n\nClasses\n-------\n\n|--------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [CameraController](/reference/androidx/camera/view/CameraController) | The abstract base camera controller class. |\n| [CameraController.OutputSize](/reference/androidx/camera/view/CameraController.OutputSize) | **This class is deprecated.** Use [ResolutionSelector](/reference/androidx/camera/core/resolutionselector/ResolutionSelector) instead. \u003cbr /\u003e |\n| [LifecycleCameraController](/reference/androidx/camera/view/LifecycleCameraController) | A controller that provides most of the CameraX features. |\n| [PreviewView](/reference/androidx/camera/view/PreviewView) | Custom View that displays the camera feed for CameraX's [Preview](/reference/androidx/camera/core/Preview) use case. |\n| [RotationProvider](/reference/androidx/camera/view/RotationProvider) | Provider for receiving rotation updates from the [SensorManager](https://developer.android.com/reference/android/hardware/SensorManager.html) when the rotation of the device has changed. |\n| [ScreenFlashView](/reference/androidx/camera/view/ScreenFlashView) | Custom View that implements a basic UI for screen flash photo capture. |\n| [TapToFocusInfo](/reference/androidx/camera/view/TapToFocusInfo) | Describes the focus state and tap location that [CameraController](/reference/androidx/camera/view/CameraController) uses for tap-to-focus feature corresponding to the [PreviewView](/reference/androidx/camera/view/PreviewView) touch events. |\n\nEnums\n-----\n\n|--------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------|\n| [PreviewView.ImplementationMode](/reference/androidx/camera/view/PreviewView.ImplementationMode) | The implementation mode of a [PreviewView](/reference/androidx/camera/view/PreviewView). |\n| [PreviewView.ScaleType](/reference/androidx/camera/view/PreviewView.ScaleType) | Options for scaling the preview vis-à-vis its container [PreviewView](/reference/androidx/camera/view/PreviewView). |\n| [PreviewView.StreamState](/reference/androidx/camera/view/PreviewView.StreamState) | Definitions for the preview stream state. |"]]