Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

AVAsset.Release

Releases the object and all memory used for it.

Component Version macOS Windows Linux Server iOS SDK
AVAsset 5.2 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ✅ Yes
MBS( "AVAsset.Release"; Asset )   More

Parameters

Parameter Description Example
Asset The reference number of the asset. Please use AVAsset.OpenContainer, AVAsset.OpenFile or AVAsset.OpenURL function to get asset reference. $asset

Result

Returns OK or error.

Description

Releases the object and all memory used for it.
Please call this when you are done with an asset.

Examples

Release a video:

MBS( "AVAsset.Release"; $asset)

See also

Release notes

Example Databases

This function checks for a license.

Created 19th June 2015, last changed 9th January 2018


AVAsset.PreferredVolume - AVAsset.ReleaseAll