Meta XR Platform SDK (UPM) v71 Reference Guide
Meta XR Platform SDK (UPM) v71 Reference Guide
Select your platform
No SDKs available
No versions available

Product Class

The class that represents the product information for a specific IAP which is available for purchase in your app. You can retrieve more information about the product(s) by using their SKU with IAP.GetProductsBySKU()

Constructors

Product ( o )
Signature
Oculus.Platform.Models.Product.Product(IntPtr o)
Parameters
o: IntPtr

Fields

Description : readonly string
The description for the product. The description should be meaningful and explanatory to help outline the product and its features.
Signature
readonly string Oculus.Platform.Models.Product.Description
FormattedPrice : readonly string
The formatted string for the Models.Price. This is the same value stored in Models.Price.
Signature
readonly string Oculus.Platform.Models.Product.FormattedPrice
Name : readonly string
The name of the product. This will be used as a the display name and should be aligned with the user facing title.
Signature
readonly string Oculus.Platform.Models.Product.Name
Price : readonly Price
The Models.Price of the product contains the currency code, the amount in hundredths, and the formatted string representation.
Signature
readonly Price Oculus.Platform.Models.Product.Price
Sku : readonly string
The unique string that you use to reference the product in your app. The SKU is case-sensitive and should match the SKU reference in your code.
Signature
readonly string Oculus.Platform.Models.Product.Sku
Type : readonly ProductType
The type of product. An In-app purchase (IAP) add-on can be ProductType.DURABLE, ProductType.CONSUMABLE, or a ProductType.SUBSCRIPTION.
Signature
readonly ProductType Oculus.Platform.Models.Product.Type