Creates a placement builder for presenting offers. This is the recommended way to present offers — it matches the API pattern across all Encore SDKs.Documentation Index
Fetch the complete documentation index at: https://docs.encorekit.com/llms.txt
Use this file to discover all available pages before exploring further.
Signature
PlacementBuilder
Parameters
| Name | Type | Description |
|---|---|---|
id | string (optional) | The placement identifier configured in the Encore Dashboard. Defaults to empty string |
Returns
PlacementBuilder.show() returns a PlacementResult object.
Usage
With named placements for analytics
Register
onPurchaseRequest and onPassthrough handlers before calling show(). See onPurchaseRequest() and onPassthrough().