ASSET_SIZE
Last updated
Was this helpful?
Last updated
Was this helpful?
The function ASSET_SIZE takes a Detailed Asset and returns the size of the Asset in bytes.
This function takes a as input. It returns a : the size of the Asset in bytes.
detailed_asset (required, type: ) Any Detailed Asset. Note that a is a subcategory of an , and that the ASSET_SIZE function will not accept a general Asset as input, only a Detailed Asset.
thumbnail_url(type: )
The size of the given Detailed Asset in bytes.
Assume the example has access to the following Detailed Asset, detailed_asset:
The following example takes the Detailed Asset defined above and returns its size. Note that this matches the value of the size property given above: