내 커뮤니티 업적 표시줄을 확대합니다.

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.