CaptureRequestOptions.Builder


class CaptureRequestOptions.Builder : ExtendableBuilder


Builder for creating CaptureRequestOptions instance.

Summary

Public constructors

Public functions

CaptureRequestOptions

Builds an immutable CaptureRequestOptions from the current state.

CaptureRequestOptions.Builder

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

CaptureRequestOptions.Builder
<ValueT> setCaptureRequestOption(
    key: CaptureRequest.Key<ValueT!>,
    value: ValueT
)

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

Public constructors

Builder

Added in 1.0.0
Builder()

Public functions

build

Added in 1.0.0
fun build(): CaptureRequestOptions

Builds an immutable CaptureRequestOptions from the current state.

Returns
CaptureRequestOptions

A CaptureRequestOptions populated with the current state.

clearCaptureRequestOption

Added in 1.0.0
fun <ValueT> clearCaptureRequestOption(key: CaptureRequest.Key<ValueT!>): CaptureRequestOptions.Builder

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

setCaptureRequestOption

Added in 1.0.0
fun <ValueT> setCaptureRequestOption(
    key: CaptureRequest.Key<ValueT!>,
    value: ValueT
): CaptureRequestOptions.Builder

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