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(Context context)

Creates a CameraXConfig containing the default Camera2 implementation for CameraX.

Inherited methods

Public methods

defaultConfig

public static CameraXConfig defaultConfig (Context context)

Creates a CameraXConfig containing the default Camera2 implementation for CameraX.

Parameters
context Context

Returns
CameraXConfig