AVPlayerItem.Duration Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.