setAll

open suspend override fun setAll(settings: UsageAndDiagnosticsSettings)(source)

Stores every value of settings together, for whole-bundle answers such as "Allow all", so observeSettings never reports a mix of the old and new choices in between.

The default stores the values one by one, so other implementations keep compiling; DefaultUsageAndDiagnosticsRepository stores them in one write.