API reference

AssetDetails Interface

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

Signature

interface AssetDetails

Properties

assetId : String
[Get]
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
abstract val assetId: String
assetType : String
[Get]
One of 'default', 'store', 'shader_blob', 'shader_blob_final', 'dfm_apk', 'apk_v4_signature' or 'language_pack'. The 'default' type denotes this Asset File is used purely as an implementation detail (to download extra content post-installation). It's not shown on PDP, and is fully controlled by the app itself. The 'store' type indicates 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. The 'shader_blob' type is used to manage shader blobs. The 'shader_blob_final' type is used to manage "final" shader blobs that may be merged shader blobs created by the backend. The 'dfm_apk' type is used for Dynamic Feature Module APKs. The 'apk_v4_signature' type is used for APKs v4 signatures.
Signature
abstract val assetType: String
downloadStatus : String
[Get]
One of 'installed', 'available', or 'in-progress'
Signature
abstract val downloadStatus: String
filepath : String
[Get]
File path of the asset file
Signature
abstract val filepath: String
iapStatus : String
[Get]
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
abstract val iapStatus: String
language : LanguagePackInfo?
[Get]
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
abstract val language: LanguagePackInfo?
metadata : String?
[Get]
Extra metadata associated with this asset file
Signature
abstract val metadata: String?