コミュニティアチーブメントバーを展開する。

Adobe Experience Platform (AEP) & Apps User Groups are live to Network, learn, and share in your regional locations.
解決済み

getting offers with Mobile SDK - which method to use

Avatar

Level 10

I see two main methods:

1. getPropositions() - This API retrieves the previously fetched propositions, for the provided decision scopes, from the in-memory extension propositions cache.

As I understand its not new request but it takes what is already in Cache? Does it also include capping?

2. updatePropositionsWithCompletionHandler() - this one gets propositions if there is nothing in Cache?

トピック

トピックはコミュニティのコンテンツの分類に役立ち、関連コンテンツを発見する可能性を広げます。

1 受け入れられたソリューション

Avatar

正解者
Level 4

Yes, you’re right.

getPropositions() allows re-rendering of propositions that were already rendered using the sendEvent command (it doesn’t make a new network call).

updatePropositionsWithCompletionHandler() fetches fetch decision propositions, the returned decision propositions are cached in-memory which can be retrieved using getPropositions.

元の投稿で解決策を見る

1 返信

Avatar

正解者
Level 4

Yes, you’re right.

getPropositions() allows re-rendering of propositions that were already rendered using the sendEvent command (it doesn’t make a new network call).

updatePropositionsWithCompletionHandler() fetches fetch decision propositions, the returned decision propositions are cached in-memory which can be retrieved using getPropositions.