set

fun <T> set(key: CaptureRequest.Key<T>, value: T)

Sets a CaptureRequest key to the camera.

Call applyRepeatingSession to apply settings to the camera.

Parameters

key

the key to set

value

the value to set