Aller au contenu

best

Ce contenu n’est pas encore disponible dans votre langue.

suspend fun best(request: RewardRequest): BestReward?

Reward worth advertising, formatted server-side; null when nothing matches.

Call once per screen for the whole visible product set, not once per row: the cache is keyed on the encoded product list, so per-row calls multiply cache keys and requests.

suspend fun best(request: RewardRequest, forceRefresh: Boolean): BestReward?

android

forceRefreshskips the cache and the backoff.