ExtendableBuilder


public interface ExtendableBuilder<T>

Known direct subclasses
CaptureRequestOptions.Builder

This class is deprecated. Use the camera2Interop or applyCamera2Interop extension functions instead, e.g., 'builder.camera2Interop { setCaptureRequestOption(key, value) }'.

ImageAnalysis.Builder

Builder for a ImageAnalysis.

ImageCapture.Builder

Builder for an ImageCapture.

Preview.Builder

Builder for a Preview.

VideoCapture.Builder

Builder for a VideoCapture.


Extendable builders are used to add externally defined options that can be passed to the implementation being built.

Parameters
<T>

the type being built by this builder.

Summary

Public methods

abstract @NonNull T

Creates an instance of the object that this builder produces.

Public methods

build

Added in 1.0.0
abstract @NonNullbuild()

Creates an instance of the object that this builder produces.