setSetting

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

Sets a setting to the current capture request.

Don't forget to call setRepeatingSession to apply the setting.

Parameters

key

The setting key

value

The setting value