class SessionParametersLegacy.Builder

Simple builder class to build a SessionParametersLegacy object.

Summary

Public constructors

Public functions

SessionParametersLegacy

Builds the SessionParametersLegacy object with the values set by set

SessionParametersLegacy.Builder
set(key: CaptureRequest.Key, val: T)

Set a capture request field to a value.

Public constructors

Builder

Added in 1.5.0-beta01
Builder()

Public functions

build

Added in 1.5.0-beta01
fun build(): SessionParametersLegacy

Builds the SessionParametersLegacy object with the values set by set

set

Added in 1.5.0-beta01
fun  set(key: CaptureRequest.Key, val: T): SessionParametersLegacy.Builder

Set a capture request field to a value. Updates the value if the key was already added before.

Parameters
key: CaptureRequest.Key

the CaptureRequest.Key set.

val: T

the value to associate with key

Returns
SessionParametersLegacy.Builder

the current builder