EncoreKit namespace.
Looking for integration guides?
- New to Encore? Start with the Getting Started Guide for portal-guided setup
- Step-by-step integration: See the Unity Quickstart for installation and configuration
- Build problems: See Build compatibility
Core methods
Configure()
Initialize Encore with your API key, options, and purchase controller
Identify()
Tie attribution to your own stable player ID
SetUserAttributes()
Update the attributes Encore uses to pick offers
SetLanguage()
Show Encore’s copy in a language the player picked
ClearLanguage()
Go back to the device language
Reset()
Clear the identified player on logout
Presenting offers
Placement()
Build a placement and present Encore’s sheet
IEncorePurchaseController
The interface your game implements so purchases run through your billing code
Outcomes
An event for every presentation result and late strict unlock verification
IsClaimEnabled
Turn the claim button on offer cards on or off
Trigger components
GiftsButton
The gift entry, from code or with EncoreGiftsButtonView
ClaimReminder
A banner for an offer the player claimed and hasn’t finished
EncoreTrigger
Any trigger component by its ID, and the members every one shares
Entitlements
IsActive()
Check once whether an entitlement is active
IsActivePublisher()
Follow an entitlement’s state until you dispose the handle
LinkPurchase()
Android only: link a Play purchase made outside Encore’s flow
CurrentEntitlement()
Android only: the in-app purchase product Encore offers now
RevokeEntitlements()
Testing only: expire the player’s entitlements and keep the player identified
ClearOfferCache()
Testing only, Android only: drop the offers and images loaded ahead of time
Types
PresentationResult
What one presentation did
UserAttributes
The player attributes Encore uses to pick offers
AppearanceConfig
Your colors for the sheet and trigger components
Entitlement
The entitlement types and scopes you check
EncoreCallResult
The success or failure of a call that returns no value
Basic integration
ShowAsync() never throws. Every outcome, including “nothing was presented”, is a value on the PresentationResult.