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

OVR_Purchase.h File

A purchase is made when a user buys a ovrProductHandle. The IAP product, which can represent a consumable item, a durable item, or a subscription, must be defined for purchase through the developer dashboard.

Typedefs

struct ovrPurchase * ovrPurchaseHandle

Functions

The developer payload feature is unimplemented.
The time when the purchased ovrProductHandle expires. This value only applies to subscriptions, and will be null for durable and consumable IAP items.
The timestamp that represents when the user was granted entitlement to the ovrProductHandle that was purchased.
The unique identifier of a ovrPurchaseHandle represents a user's unique entitlement to a ovrProductHandle. This value is 0 for shared IAP entitlements. Deprecated
The Reporting ID feature is not implemented.
The SKU of the IAP ovrProductHandle that was purchased. This value is case-sensitive. To retrieve the product information, you can use this value when calling ovr_IAP_GetProductsBySKU().
The Type of the IAP ovrProductHandle that was purchased. The values can be ovrProductType_DURABLE(), ovrProductType_CONSUMABLE(), or a ovrProductType_SUBSCRIPTION().
const char * ovr_Purchase_GetPurchaseStrID
( const ovrPurchaseHandle obj )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon