Skip to content

androidx.camera:camera-view

Official Description: UI tools for the Jetpack Camera Library, a library providing a consistent and reliable camera foundation that enables great camera driven experiences across all of Android.

CommonsWare's Notes

This artifact contains CameraView, an "out fo the box" way to add CameraX to a UI. You add a CameraView to your layout, call bindToLifecycle() to tie it to a LifecycleOwner, and it will show the camera preview for you. You can call takePicture() or startRecording() to take a picture or start video recording, respectively.

See androidx.camera:camera-core for more information about CameraX, including links to documentation and resources.

Documentation

Versions