Camera2Config

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

Convenience class for generating a pre-populated Camera2 CameraXConfig.

Summary

Public methods

static CameraXConfig
defaultConfig(@NonNull context: Context)

Creates a CameraXConfig containing the default Camera2 implementation for CameraX.

Public methods

defaultConfig

@NonNull static fun defaultConfig(@NonNull context: Context): CameraXConfig

Creates a CameraXConfig containing the default Camera2 implementation for CameraX.