Android 12 Developer Preview is here! Try it out, and give us your feedback!

ExtensionsUseCaseConfigFactory

class ExtensionsUseCaseConfigFactory : UseCaseConfigFactory
kotlin.Any
   ↳ androidx.camera.extensions.internal.ExtensionsUseCaseConfigFactory

Implementation of UseCaseConfigFactory to provide the default extensions configurations for use cases.

Summary

Public constructors
<init>(mode: Int, @NonNull cameraInfo: CameraInfo, @NonNull context: Context)

Public methods
Config?
getConfig(@NonNull captureType: CaptureType)

Returns the configuration for the given capture type, or null if the configuration cannot be produced.

Public constructors

<init>

ExtensionsUseCaseConfigFactory(
    mode: Int,
    @NonNull cameraInfo: CameraInfo,
    @NonNull context: Context)

Public methods

getConfig

@Nullable fun getConfig(@NonNull captureType: CaptureType): Config?

Returns the configuration for the given capture type, or null if the configuration cannot be produced.