OptionUnpacker
Kotlin
|Java
interface OptionUnpacker
androidx.camera.core.impl.CaptureConfig.OptionUnpacker |
Interface for unpacking a configuration into a CaptureConfig.Builder
Summary
Public methods | |
---|---|
abstract Unit |
unpack(@NonNull config: UseCaseConfig<*>, @NonNull builder: CaptureConfig.Builder) Apply the options from the config onto the builder |
Public methods
unpack
abstract fun unpack(
@NonNull config: UseCaseConfig<*>,
@NonNull builder: CaptureConfig.Builder
): Unit
Apply the options from the config onto the builder
Parameters | |
---|---|
config |
UseCaseConfig<*>: the set of options to apply |
builder |
CaptureConfig.Builder: the builder on which to apply the options |