API reference

OVR_AssetDetails.h File

Typedefs

struct ovrAssetDetails * ovrAssetDetailsHandle
An AssetDetails object contains detailed metadata for an asset file, including the asset file ID, file path, asset type, and additional metadata that characterizes the asset. You can retrieve the asset details using ovr_AssetFile_GetList()

Functions

ovrID ovr_AssetDetails_GetAssetId
( const ovrAssetDetailsHandle obj )
ID of the asset file. You can use this ID to uniquely identify a single asset. You can find more details from ovr_AssetFile_StatusById()
const char * ovr_AssetDetails_GetAssetType
( const ovrAssetDetailsHandle obj )
One of 'default', 'store', or 'language_pack'. The 'default' type denotes this Asset File is used purely as an implementation detail (to download extra content post-installation). The 'store' type shows, that the Asset File should be shown in Store. The 'language_pack' is a special type used to manage different languages and translation data, which can be downloaded post-installation.
const char * ovr_AssetDetails_GetDownloadStatus
( const ovrAssetDetailsHandle obj )
One of 'installed', 'available', or 'in-progress'.
const char * ovr_AssetDetails_GetFilepath
( const ovrAssetDetailsHandle obj )
File path of the asset file.
const char * ovr_AssetDetails_GetIapStatus
( const ovrAssetDetailsHandle obj )
The status of in app purchases which are some extra content that users can buy right from apps. The value could be one of 'free', 'entitled', or 'not- entitled'.
ovrLanguagePackInfoHandle ovr_AssetDetails_GetLanguage
( const ovrAssetDetailsHandle obj )
This field gives information about currently selected and installed language for the asset. The language info contains language name and tag in BCP47 format. This method may return null. This indicates that the value is not present or that the curent app or user is not permitted to access it.
const char * ovr_AssetDetails_GetMetadata
( const ovrAssetDetailsHandle obj )
Extra metadata associated with this asset file.