placementId | string | All | Names the moment, such as level_complete. Results and analytics carry it |
UseCase | UseCase | All | RewardUsers for a moment the player earned, or ReduceChurn for a paywall decline. ReduceChurn is the default, so a reward placement must set RewardUsers. Offers that sell a product need an IEncorePurchaseController in Configure |
Headline, Subheadline | string | All | Your copy for this presentation. Null or empty falls back to the copy Encore resolved for your app |
Cta | string | Android, iOS | The primary button’s label. Read by the reward use case only. An empty string keeps the served copy |
Decline | string | Android, iOS | The decline button’s label, with the same rules as Cta |
Badge | string | Android, iOS | The badge on the highlighted offer, with the same rules as Cta |
Appearance | AppearanceConfig | Android, iOS, WebGL | Your colors for this sheet. The sheet reads AccentColor, BackgroundColor, and TextColor (TextColor only together with BackgroundColor) |
OnLoadingStateChange | event Action<bool> | All | true when Show starts and false when its result arrives, before the result callback. Raised on the main thread |
Prefetch() | | iOS | Warms this placement’s offers so Show opens without a network round trip. Call it when the screen comes into view. Elsewhere it does nothing |
HasOffersAsync(), HasOffers() | Task<bool>, Action<bool> | All | Whether Show would find offers for this player now. See Show your entry only when it opens something |