Work with Entitlements In-Game
Get Single Entitlement
string entitlementID = "";
LootLockerSDKManager.GetSingleEntitlementHistory(entitlementID, (response)=>
{
if(!reponse.success)
{
Debug.Log(response.errorData.ToString());
return;
}
if(response.Status == LootLockerEntitlementHistoryListingStatus.canceled)
{
//canceled or issue encountered.
Debug.Log(response.errorData.ToString());
return;
}
if(response.Status == LootLockerEntitlementHistoryListingStatus.pending)
{
//retry the process
}
if(response.Status == LootLockerSDKManager.GetSingleEntitlementHistory.active)
{
//Purchase successful, handle the expected outcome.
}
});List Entitlements
Last updated
Was this helpful?
