setAdsEnabled

abstract suspend fun setAdsEnabled(enabled: Boolean)(source)

Throws

when the preference cannot be written.