public interface

SessionConfig.OptionUnpacker

 androidx.camera.core.impl.SessionConfig.OptionUnpacker

Overview

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

Methods
public voidunpack(Size resolution, UseCaseConfig<UseCase> config, SessionConfig.Builder builder)

Apply the options from the config onto the builder

Methods

public void unpack(Size resolution, UseCaseConfig<UseCase> config, SessionConfig.Builder builder)

Apply the options from the config onto the builder

Parameters:

resolution: the suggested resolution
config: the set of options to apply
builder: the builder on which to apply the options