API reference

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

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
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
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