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

Camera2Config

public final class Camera2Config
extends Object

java.lang.Object
   ↳ androidx.camera.camera2.Camera2Config


Convenience class for generating a pre-populated Camera2 CameraXConfig.

Summary

Public methods

static CameraXConfig defaultConfig()

Creates a CameraXConfig containing the default Camera2 implementation for CameraX.

Inherited methods

Public methods

defaultConfig

public static CameraXConfig defaultConfig ()

Creates a CameraXConfig containing the default Camera2 implementation for CameraX.

Returns
CameraXConfig