API reference

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 com.meta.horizon.platform.ovr.requests.AssetFile#getList()

Member Functions

AssetDetails
( final long ptr )
long getAssetId ( )
ID of the asset file. You can use this ID to uniquely identify a single asset. You can find more details from com.meta.horizon.platform.ovr.requests.AssetFile#statusById(long assetFileID)
Returns
long
String getAssetType ( )
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.
Returns
String
String getDownloadStatus ( )
One of 'installed', 'available', or 'in-progress'
Returns
String
String getFilepath ( )
File path of the asset file
Returns
String
String getIapStatus ( )
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'.
Returns
String
LanguagePackInfo getLanguage ( )
This field gives information about currently selected and installed language for the asset. The language info contains language name and tag in BCP47 format.
Returns
String getMetadata ( )
Extra metadata associated with this asset file
Returns
String