RecommendationConfig

@Serializable
data class RecommendationConfig @JvmOverloads constructor(val recommendedItemsCacheDuration: Long = RECOMMENDATION_CONFIG_DEFAULT_CACHE_DURATION)

Recommendations Configuration.

Author

Tushar Khatri

Since

10.4.0

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.

Constructors

Link copied to clipboard
constructor(recommendedItemsCacheDuration: Long = RECOMMENDATION_CONFIG_DEFAULT_CACHE_DURATION)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Recommended items' local cache duration. Unit: Second