set

@RequiresPermission(value = "android.permission.CAMERA")
suspend fun <T> set(key: CaptureRequest.Key<T>, value: T)(source)

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