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

FOvrContentRating Struct

A Content Rating of a FOvrProduct. This rating is sourced by the International Age Rating Coalition (IARC) certificate from the local rating authority. An Add-on's Content Rating can be configured by adding a IARC certificate in the developer dashboard. The Add-on can also inherit the Content Rating of the base App.

Constructors

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

Fields

AgeRatingImageUri : FString
URI for the image that needs to be shown for the content rating of the FOvrProduct.
Signature
FString FOvrContentRating::AgeRatingImageUri
AgeRatingText : FString
The age rating text is the text version of the rating used to describe age appropriateness by the International Age Rating Coalition (IARC).
Signature
FString FOvrContentRating::AgeRatingText
Descriptors : TArray< FString >
The list of descriptors which indicate content within the product that may have triggered a particular age rating or may be of interest or concern to consumers, e.g., "Blood and Gore", "Intense Violence", etc.
Signature
TArray<FString> FOvrContentRating::Descriptors
InteractiveElements : TArray< FString >
The list of interactive elements, which advise consumers up front that a FOvrProduct includes interactive or online behaviors/options that may be of interest or concern, e.g., "In-App Purchases".
Signature
TArray<FString> FOvrContentRating::InteractiveElements
RatingDefinitionUri : FString
The URI pointing to a website with International Age Rating Coalition (IARC) rating definitions from local rating authorities (e.g., Australian Classification Board, ESRB, GRAC, etc).
Signature
FString FOvrContentRating::RatingDefinitionUri

Member Functions

Clear ()
Setting all values to their defaults, effectively clearing the struct.
Signature
void FOvrContentRating::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 FOvrContentRating::Update(ovrContentRatingHandle OvrHandle, TOvrMessageHandlePtr MessageHandlePtr)
Parameters
OvrHandle: ovrContentRatingHandle
MessageHandlePtr: TOvrMessageHandlePtr
Returns
void