ExtensionsUseCaseConfigFactory

@RequiresApi(21) 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
ExtensionsUseCaseConfigFactory(mode: Int, @NonNull vendorExtender: VendorExtender, @NonNull context: Context)

Public methods
Config?
getConfig(@NonNull captureType: UseCaseConfigFactory.CaptureType, captureMode: Int)

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

Inherited properties

Public constructors

ExtensionsUseCaseConfigFactory

ExtensionsUseCaseConfigFactory(
    mode: Int,
    @NonNull vendorExtender: VendorExtender,
    @NonNull context: Context)

Public methods

getConfig

@Nullable fun getConfig(
    @NonNull captureType: UseCaseConfigFactory.CaptureType,
    captureMode: Int
): Config?

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

Parameters
captureType UseCaseConfigFactory.CaptureType: The CaptureType for the configuration.
captureMode Int: The CaptureMode for the configuration.
Return
Config? The use case configuration.