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

Constructors

AssetDetails ( ptr )
Signature
com.meta.horizon.platform.ovr.models.AssetDetails.AssetDetails(final long ptr)
Parameters
ptr: final long

Methods

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)
Signature
long com.meta.horizon.platform.ovr.models.AssetDetails.getAssetId()
Returns
long  long
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.
Signature
String com.meta.horizon.platform.ovr.models.AssetDetails.getAssetType()
Returns
String  String
getDownloadStatus ()
One of 'installed', 'available', or 'in-progress'
Signature
String com.meta.horizon.platform.ovr.models.AssetDetails.getDownloadStatus()
Returns
String  String
getFilepath ()
File path of the asset file
Signature
String com.meta.horizon.platform.ovr.models.AssetDetails.getFilepath()
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'.
Signature
String com.meta.horizon.platform.ovr.models.AssetDetails.getIapStatus()
Returns
String  String
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.
Signature
LanguagePackInfo com.meta.horizon.platform.ovr.models.AssetDetails.getLanguage()
Returns
LanguagePackInfo LanguagePackInfo
getMetadata ()
Extra metadata associated with this asset file
Signature
String com.meta.horizon.platform.ovr.models.AssetDetails.getMetadata()
Returns
String  String