public final class

Camera2ImplConfig.Builder

extends java.lang.Object

implements ExtendableBuilder<Camera2ImplConfig>

 java.lang.Object

↳androidx.camera.camera2.impl.Camera2ImplConfig.Builder

Overview

Builder for creating Camera2ImplConfig instance.

Use Camera2ImplConfig.Builder for creating Config which contains camera2 options only. And use Camera2Interop.Extender to add Camera2 options on existing other ExtendableBuilder.

Summary

Constructors
publicBuilder()

Methods
public Camera2ImplConfigbuild()

Builds an immutable Camera2ImplConfig from the current state.

public MutableConfiggetMutableConfig()

public Camera2ImplConfig.BuilderinsertAllOptions(Config config)

Inserts options from other Config object.

public Camera2ImplConfig.BuildersetCaptureRequestOption(<any> key, java.lang.Object value)

Inserts new capture request option with specific setting.

public Camera2ImplConfig.BuildersetCaptureRequestOptionWithPriority(<any> key, java.lang.Object value, Config.OptionPriority priority)

Inserts new capture request option with specific setting and .

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

Constructors

public Builder()

Methods

public MutableConfig getMutableConfig()

public Camera2ImplConfig.Builder setCaptureRequestOption(<any> key, java.lang.Object value)

Inserts new capture request option with specific setting.

public Camera2ImplConfig.Builder setCaptureRequestOptionWithPriority(<any> key, java.lang.Object value, Config.OptionPriority priority)

Inserts new capture request option with specific setting and .

public Camera2ImplConfig.Builder insertAllOptions(Config config)

Inserts options from other Config object.

public Camera2ImplConfig build()

Builds an immutable Camera2ImplConfig from the current state.

Returns:

A Camera2ImplConfig populated with the current state.