Interface IStoreCheckEntitlementCallback
A public interface for a class that handles callbacks for checking entitlements from a Store.
Namespace: UnityEngine.Purchasing
Assembly: Unity.Purchasing.dll
Syntax
public interface IStoreCheckEntitlementCallback
Methods
OnCheckEntitlement(ProductDefinition, EntitlementStatus, string)
Informs Unity Purchasing of a product's entitlement status result. Always invoked, regardless of success or failure.
Declaration
void OnCheckEntitlement(ProductDefinition productDefinition, EntitlementStatus status, string message = null)
Parameters
Type | Name | Description |
---|---|---|
ProductDefinition | productDefinition | The product being checked. |
EntitlementStatus | status | The result of the entitlement check. |
string | message | Optional error or status detail message. |