OptionUnpacker

interface OptionUnpacker
androidx.camera.core.impl.SessionConfig.OptionUnpacker

Interface for unpacking a configuration into a SessionConfig.Builder

TODO(b/120949879): This will likely be removed once SessionConfig is refactored to remove camera2 dependencies.

Summary

Public methods
abstract Unit
unpack(@NonNull config: UseCaseConfig<*>, @NonNull builder: SessionConfig.Builder)

Apply the options from the config onto the builder

Public methods

unpack

abstract fun unpack(
    @NonNull config: UseCaseConfig<*>,
    @NonNull builder: SessionConfig.Builder
): Unit

Apply the options from the config onto the builder

Parameters
config UseCaseConfig<*>: the set of options to apply
builder SessionConfig.Builder: the builder on which to apply the options