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

Camera2Config

class Camera2Config
kotlin.Any
   ↳ androidx.camera.camera2.Camera2Config

Convenience class for generating a pre-populated Camera2 CameraXConfig.

Summary

Public methods
static CameraXConfig

Creates a CameraXConfig containing the default Camera2 implementation for CameraX.

Public methods

defaultConfig

@NonNull static fun defaultConfig(): CameraXConfig

Creates a CameraXConfig containing the default Camera2 implementation for CameraX.