ExtensionsUseCaseConfigFactory
Kotlin
|Java
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 |
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.