CaptureRequestOptions.Builder


public final class CaptureRequestOptions.Builder implements ExtendableBuilder

Builder for creating CaptureRequestOptions instance.

Summary

Public constructors

Public methods

@NonNull CaptureRequestOptions

Builds an immutable CaptureRequestOptions from the current state.

@NonNull CaptureRequestOptions.Builder

Removes a capture request option with specific CaptureRequest.Key setting.

@NonNull CaptureRequestOptions.Builder
setCaptureRequestOption(
    @NonNull CaptureRequest.Key key,
    @NonNull ValueT value
)

Inserts new capture request option with specific CaptureRequest.Key setting.

Public constructors

Builder

Added in 1.0.0
public Builder()

Public methods

build

Added in 1.0.0
public @NonNull CaptureRequestOptions build()

Builds an immutable CaptureRequestOptions from the current state.

Returns
@NonNull CaptureRequestOptions

A CaptureRequestOptions populated with the current state.

clearCaptureRequestOption

Added in 1.0.0
public @NonNull CaptureRequestOptions.Builder  clearCaptureRequestOption(
    @NonNull CaptureRequest.Key key
)

Removes a capture request option with specific CaptureRequest.Key setting.

setCaptureRequestOption

Added in 1.0.0
public @NonNull CaptureRequestOptions.Builder  setCaptureRequestOption(
    @NonNull CaptureRequest.Key key,
    @NonNull ValueT value
)

Inserts new capture request option with specific CaptureRequest.Key setting.