public final class

CaptureRequestOptions.Builder

extends java.lang.Object

implements ExtendableBuilder<CaptureRequestOptions>

 java.lang.Object

↳androidx.camera.camera2.interop.CaptureRequestOptions.Builder

Overview

Builder for creating CaptureRequestOptions instance.

Summary

Constructors
publicBuilder()

Methods
public CaptureRequestOptionsbuild()

Builds an immutable CaptureRequestOptions from the current state.

public CaptureRequestOptions.BuilderclearCaptureRequestOption(<any> key)

Removes a capture request option with specific setting.

public static CaptureRequestOptions.Builderfrom(Config config)

Generates a Builder from another Config object.

public MutableConfiggetMutableConfig()

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

Inserts new capture request option with specific setting.

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

Constructors

public Builder()

Methods

public static CaptureRequestOptions.Builder from(Config config)

Generates a Builder from another Config object.

Parameters:

config: An immutable configuration to pre-populate this builder.

Returns:

The new Builder.

public MutableConfig getMutableConfig()

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

Inserts new capture request option with specific setting.

public CaptureRequestOptions.Builder clearCaptureRequestOption(<any> key)

Removes a capture request option with specific setting.

public CaptureRequestOptions build()

Builds an immutable CaptureRequestOptions from the current state.

Returns:

A CaptureRequestOptions populated with the current state.