public final class

SessionConfig.ValidatingBuilder

extends androidx.camera.core.SessionConfig.BaseBuilder

 java.lang.Object

↳androidx.camera.core.SessionConfig.BaseBuilder

↳androidx.camera.core.SessionConfig.ValidatingBuilder

Overview

Builder for combining multiple instances of SessionConfig. This will check if all the parameters for the SessionConfig are compatible with each other

Summary

Constructors
publicValidatingBuilder()

Methods
public voidadd(SessionConfig sessionConfig)

Add the SessionConfig to the set of SessionConfig that have been aggregated by the ValidatingBuilder

public SessionConfigbuild()

Builds an instance of a SessionConfig that has all the combined parameters of the SessionConfig that have been added to the ValidatingBuilder.

public booleanisValid()

Check if the set of SessionConfig that have been combined are valid

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public ValidatingBuilder()

Methods

public void add(SessionConfig sessionConfig)

Add the SessionConfig to the set of SessionConfig that have been aggregated by the ValidatingBuilder

public boolean isValid()

Check if the set of SessionConfig that have been combined are valid

public SessionConfig build()

Builds an instance of a SessionConfig that has all the combined parameters of the SessionConfig that have been added to the ValidatingBuilder.