requestAssetInfo
Requests asset information by asset ID.
Declaration
suspend fun requestAssetInfo( assetId: String, timeoutMs: Long = DEFAULT_TIMEOUT_MS ): AssetResult
Summary
Returns
AssetResult containing the asset information.
Throws
SitesException— if the request fails with an error.kotlinx.coroutines.CancellationException— if the coroutine is cancelled.
Parameters
| Name | Type | Summary |
|---|---|---|
| assetId | String | The asset ID to query. |
| timeoutMs | Long | Maximum time to wait for the request to complete. |
Requests asset information by asset ID.