The second Android 11 Developer Preview is now available, test it out and share your feedback.

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.