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


class CameraXConfig : TargetConfig<CameraX!>, Config

A configuration for adding implementation and user-specific behavior to CameraX.

CameraXConfig provides customizable options for camera provider instances that persist for the lifetime of the provider.

An implementation of AppConfig must be provided by subclassing the Application object and implementing CameraXConfig.Provider. An example of how this is used can be found in the package.

Applications can create and use the of AppConfig provided in


Nested classes

A builder for generating CameraXConfig objects.


An interface which can be implemented to provide the configuration for CameraX.