Contents

preferredVolume

The asset’s volume preference for playing its audible media.

Declaration

static var preferredVolume: AVAsyncProperty<Root, Float> { get }

Discussion

Use the load(_:isolation:) method to retrieve the property value.

The preferred volume for an audio track is typically, but not always, 1.0. For nonaudible tracks, the value is 0.0.

See Also

Loading asset preferences