Edit

Share via


AVPlayerItem.Duration Property

Definition

The duration, in seconds, of the item. Asynchronously loaded.

public virtual CoreMedia.CMTime Duration { [Foundation.Export("duration")] get; }
member this.Duration : CoreMedia.CMTime

Property Value

Attributes

Remarks

The final value of this becomes available asynchronously during loading. Prior to complete loading, or if the source is a live stream, the value will be Indefinite.

Applies to