Settings for sleep cache.
Sleep data could fall into several days and to avoid parsing some days several times cache may be used. Data cached only when there are subscriptions to
observe* methods and cache is cleared when all subscriptions disposed. So enabling of cache doesn't affect memory usage when sleep data is not used.
cacheClearingDelay is used to delay cache clearing on dispose of all subscription. So it is safe to go from one activity to another. SleepData.clearCache could be used to clear cache manually and the method has parameter to clear cache immediately.
Episodes of sleep are used for almost every type of sleep data. But anxiety in sleep are cached only when there are subscription to SleepData.observeAnxietyData.
Last of cached days in terms of days ago from today. Default: 0 (cache cachedDaysCount days from today including today).
Amount of seconds to break episodes of sleep in two different Sleep. Default: Sleep.SLEEP_GAP.