ExtensionsUseCaseConfigFactory

public final class ExtensionsUseCaseConfigFactory implements UseCaseConfigFactory


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

Summary

Public constructors

ExtensionsUseCaseConfigFactory(
    @ExtensionMode.Mode @NonNull int mode,
    @NonNull VendorExtender vendorExtender,
    @NonNull Context context
)

Public methods

@Nullable @Override Config

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

Public constructors

ExtensionsUseCaseConfigFactory

public ExtensionsUseCaseConfigFactory(
    @ExtensionMode.Mode @NonNull int mode,
    @NonNull VendorExtender vendorExtender,
    @NonNull Context context
)

Public methods

getConfig

@Nullable
@Override
@NonNull
public @Override Config getConfig(@NonNull UseCaseConfigFactory.CaptureType captureType)

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