configureCache

abstract fun configureCache(newConfiguration: SleepCacheConfiguration)

Update sleep cache configuration.

If caching was enabled and it is disabled in newConfiguration, cache will be cleared immediately (see clearCache).

If caching was disabled and it is enabled in newConfiguration, pre-caching will be started.

Parameters

newConfiguration