ConsumePurchase
(
sku
)
|
Allow the consumable IAP product to be purchased again. Conceptually, this indicates that the item was used or consumed.
Signature
static Request Oculus.Platform.IAP.ConsumePurchase(string sku) Parameters sku: stringReturns Request |
GetNextProductListPage
(
list
)
|
Signature
static Request<Models.ProductList> Oculus.Platform.IAP.GetNextProductListPage(Models.ProductList list) Parameters list: Models.ProductListReturns Request< Models.ProductList > |
GetNextPurchaseListPage
(
list
)
|
Signature
static Request<Models.PurchaseList> Oculus.Platform.IAP.GetNextPurchaseListPage(Models.PurchaseList list) Parameters list: Models.PurchaseListReturns Request< Models.PurchaseList > |
GetProductsBySKU
(
skus
)
|
Retrieve a list of IAP products that can be purchased.
Signature
static Request<Models.ProductList> Oculus.Platform.IAP.GetProductsBySKU(string[] skus) Parameters skus: string []
The SKUs of the products to retrieve.
Returns Request< Models.ProductList > |
GetViewerPurchases
()
|
Retrieve a list of Purchase that the Logged-In-User has made. This list will also contain consumable purchases that have not been consumed.
Signature
static Request<Models.PurchaseList> Oculus.Platform.IAP.GetViewerPurchases() Returns Request< Models.PurchaseList > |
GetViewerPurchasesDurableCache
()
|
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. It is recommended in all cases to use ovr_User_GetViewerPurchases first and only check the cache if that fails.
Signature
static Request<Models.PurchaseList> Oculus.Platform.IAP.GetViewerPurchasesDurableCache() Returns Request< Models.PurchaseList > |
LaunchCheckoutFlow
(
sku
)
|
Launch the checkout flow to purchase the existing product. Oculus Home tries handle and fix as many errors as possible. Home returns the appropriate error message and how to resolveit, if possible. Returns a purchase on success, empty purchase on cancel, and an error on error.
Signature
static Request<Models.Purchase> Oculus.Platform.IAP.LaunchCheckoutFlow(string sku) Parameters sku: string
IAP sku for the item the user wishes to purchase.
Returns Request< Models.Purchase > |