RecommendationConfig

constructor(recommendedItemsCacheDuration: Long = RECOMMENDATION_CONFIG_DEFAULT_CACHE_DURATION)

Parameters

recommendedItemsCacheDuration

Duration for which recommended items are served from the local cache before the SDK fetches them again. Unit: seconds. The SDK uses whichever is larger this value or the duration configured via remote configuration. 24 hours (86400 seconds) is the shortest supported duration — a smaller value is discarded when the SDK initialises and 86400 is used instead, with a warning naming both durations.