MediaPlaybackSession.NaturalDuration MediaPlaybackSession.NaturalDuration MediaPlaybackSession.NaturalDuration MediaPlaybackSession.NaturalDuration MediaPlaybackSession.NaturalDuration Property

Definition

Gets a value indicating the duration of the currently playing media, when being played back at normal speed.

public : TimeSpan NaturalDuration { get; }
TimeSpan NaturalDuration();
public TimeSpan NaturalDuration { get; }
Public ReadOnly Property NaturalDuration As TimeSpan
var timeSpan = mediaPlaybackSession.naturalDuration;

Property Value

TimeSpan TimeSpan TimeSpan

The duration of the currently playing media.