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

FOvrProduct Struct

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 UOvrRequestsBlueprintLibrary::IAP_GetProductsBySKU()

Constructors

FOvrProduct ()
This is the default constructor for the struct, which initializes the ::ovrProductHandle and TOvrMessageHandlePtr to their default values.
Signature
FOvrProduct::FOvrProduct()
FOvrProduct ( OvrHandle , MessageHandlePtr )
Copying values from an OVR handle to the array, and the originating message to prevent the handle from being freed.
Signature
FOvrProduct::FOvrProduct(ovrProductHandle OvrHandle, TOvrMessageHandlePtr MessageHandlePtr)
Parameters
OvrHandle: ovrProductHandle
MessageHandlePtr: TOvrMessageHandlePtr

Fields

BillingPlans : TArray< FOvrBillingPlan >
Billing plans related to the product.
Signature
TArray<FOvrBillingPlan> FOvrProduct::BillingPlans
ContentRating : FOvrContentRating
The content rating of a FOvrProduct that specifies the age rating as well as other important information that needs to be displayed to the user per local regulations.
Signature
FOvrContentRating FOvrProduct::ContentRating
CoverUrl : FString
The URI for the cover image for the FOvrProduct being sold.
Signature
FString FOvrProduct::CoverUrl
Description : FString
The description for the product. The description should be meaningful and explanatory to help outline the product and its features.
Signature
FString FOvrProduct::Description
FormattedPrice : FString
The formatted string for the FOvrPrice. This is the same value stored in FOvrPrice.
Signature
FString FOvrProduct::FormattedPrice
IconUrl : FString
The URI for FOvrProduct icon.
Signature
FString FOvrProduct::IconUrl
Name : FString
The name of the product. This will be used as a the display name and should be aligned with the user facing title.
Signature
FString FOvrProduct::Name
Price : FOvrPrice
The FOvrPrice of the product contains the currency code, the amount in hundredths, and the formatted string representation.
Signature
FOvrPrice FOvrProduct::Price
ShortDescription : FString
The short description of a FOvrProduct which provides more information about the FOvrProduct. To be used in conjunction with the description of the FOvrProduct.
Signature
FString FOvrProduct::ShortDescription
SKU : FString
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
FString FOvrProduct::SKU
The type of product. An In-app purchase (IAP) add-on can be EOvrProductType::DURABLE, EOvrProductType::CONSUMABLE, or a EOvrProductType::SUBSCRIPTION.
Signature
EOvrProductType FOvrProduct::Type

Member Functions

Clear ()
Setting all values to their defaults, effectively clearing the struct.
Signature
void FOvrProduct::Clear()
Returns
void
Update ( OvrHandle , MessageHandlePtr )
Updating values from an OVR handle to the array, and the originating message to prevent the handle from being freed.
Signature
void FOvrProduct::Update(ovrProductHandle OvrHandle, TOvrMessageHandlePtr MessageHandlePtr)
Parameters
OvrHandle: ovrProductHandle
MessageHandlePtr: TOvrMessageHandlePtr
Returns
void