Skip to main content

Purpose

Create and present Encore offers using a fluent builder API. Fetches available offers for the current user and presents them in a native offer sheet.

Signature

PlacementBuilder Methods

Returns

show() returns a PresentationResult:

Usage

Fire-and-forget

With named placement for analytics

Provide a descriptive placement ID to identify this specific placement in your analytics. If omitted, a random ID is generated.
The show() suspend variant throws EncoreError.Integration.NotConfigured if the SDK hasn’t been configured. The fire-and-forget variant catches and logs errors internally.