O segundo Visualização do Desenvolvedor do Android 11 já está disponível, teste e compartilhe seu feedback.

Provider

interface Provider
androidx.camera.core.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.

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

Summary

Public methods

abstract CameraXConfig

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

Public methods

getCameraXConfig

@NonNull abstract fun getCameraXConfig(): CameraXConfig

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