API reference
API reference
Select your platform
No SDKs available
No versions available

ovr_IAP_GetViewerPurchasesDurableCache Function

Retrieve a list of Purchase that the Logged-In-User has made. This list will only contain durable purchase (non-consumable) and is populated from a device cache. Important: It is recommended to use ovr_IAP_GetViewerPurchases() first and only check the cache if that fails. This method is intended as a fallback mechanism and may not always return up-to-date results.
A message with type ovrMessage_IAP_GetViewerPurchasesDurableCache will be generated in response.
First call ovr_Message_IsError() to check if an error occurred.
If no error occurred, the message will contain a payload of type ovrPurchaseArrayHandle. Extract the payload from the message handle with ovr_Message_GetPurchaseArray().

Signature

ovrRequest ovr_IAP_GetViewerPurchasesDurableCache()

Returns