public abstract class

StreamSpec.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.camera.core.impl.StreamSpec.Builder

Overview

A builder for a stream specification

Summary

Methods
public abstract StreamSpecbuild()

Builds the stream specification

public abstract StreamSpec.BuildersetDynamicRange(DynamicRange dynamicRange)

Sets the dynamic range.

public abstract StreamSpec.BuildersetExpectedFrameRateRange(<any> range)

Sets the expected frame rate range.

public abstract StreamSpec.BuildersetImplementationOptions(Config config)

Sets the implementation options.

public abstract StreamSpec.BuildersetResolution(Size resolution)

Sets the resolution, overriding the existing resolution set in this builder.

public abstract StreamSpec.BuildersetZslDisabled(boolean disabled)

Sets the flag if zero-shutter lag needs to be disabled by user case combinations.

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

Methods

public abstract StreamSpec.Builder setResolution(Size resolution)

Sets the resolution, overriding the existing resolution set in this builder.

public abstract StreamSpec.Builder setDynamicRange(DynamicRange dynamicRange)

Sets the dynamic range.

If not set, the default dynamic range is DynamicRange.SDR.

public abstract StreamSpec.Builder setExpectedFrameRateRange(<any> range)

Sets the expected frame rate range.

If not set, the default expected frame rate range is StreamSpec.FRAME_RATE_RANGE_UNSPECIFIED.

public abstract StreamSpec.Builder setImplementationOptions(Config config)

Sets the implementation options.

If not set, the default expected frame rate range is .

public abstract StreamSpec.Builder setZslDisabled(boolean disabled)

Sets the flag if zero-shutter lag needs to be disabled by user case combinations.

public abstract StreamSpec build()

Builds the stream specification