Google 致力于为黑人社区推动种族平等。查看具体举措

CameraXConfig.Provider

public static interface CameraXConfig.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.

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

Summary

Public methods

abstract CameraXConfig getCameraXConfig()

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

Public methods

getCameraXConfig

public abstract CameraXConfig getCameraXConfig ()

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

Returns
CameraXConfig