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

AVAsset.PreferredVolume

Queries the preferred volume at which the audible media of asset is to be played.

Component Version macOS Windows Linux Server iOS SDK
AVAsset 5.2 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ✅ Yes
MBS( "AVAsset.PreferredVolume"; 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 value or error.

Description

Queries the preferred volume at which the audible media of asset is to be played.
Range from 0 to 1. This value is often, but not always, 1.0.

Examples

Query preferred volume:

MBS( "AVAsset.PreferredVolume"; $asset)

See also

This function checks for a license.

Created 19th June 2015, last changed 19th June 2015


AVAsset.PreferredRate - AVAsset.Release