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

AssetDetails Class

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 AssetFile.GetList()

Constructors

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

Fields

AssetId : readonly UInt64
ID of the asset file. You can use this ID to uniquely identify a single asset. You can find more details from AssetFile.StatusById()
Signature
readonly UInt64 Oculus.Platform.Models.AssetDetails.AssetId
AssetType : readonly string
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.
Signature
readonly string Oculus.Platform.Models.AssetDetails.AssetType
DownloadStatus : readonly string
One of 'installed', 'available', or 'in-progress'.
Signature
readonly string Oculus.Platform.Models.AssetDetails.DownloadStatus
Filepath : readonly string
File path of the asset file.
Signature
readonly string Oculus.Platform.Models.AssetDetails.Filepath
IapStatus : readonly string
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'.
Signature
readonly string Oculus.Platform.Models.AssetDetails.IapStatus
Language : readonly LanguagePackInfo
Signature
readonly LanguagePackInfo Oculus.Platform.Models.AssetDetails.Language
LanguageOptional : readonly LanguagePackInfo
This field gives information about currently selected and installed language for the asset. The language info contains language name and tag in BCP47 format.
Signature
readonly LanguagePackInfo Oculus.Platform.Models.AssetDetails.LanguageOptional
Metadata : readonly string
Extra metadata associated with this asset file.
Signature
readonly string Oculus.Platform.Models.AssetDetails.Metadata