CameraXConfig.Provider


interface CameraXConfig.Provider


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

When implemented by an Application, this can provide on-demand initialization of CameraX.

Examples of how this is used can be found in the androidx.camera.lifecycle package.

Summary

Public functions

CameraXConfig

Returns the configuration to use for initializing an instance of CameraX.

Public functions

getCameraXConfig

Added in 1.0.0
fun getCameraXConfig(): CameraXConfig

Returns the configuration to use for initializing an instance of CameraX.