-api-id | -api-type |
---|---|
P:Windows.Media.Playback.MediaPlayer.NaturalDuration |
winrt property |
Get the actual duration of the media without applying the PlaybackRate.
Note
MediaPlayer.NaturalDuration may be altered or unavailable after Windows 10, version 1607. Instead, use the MediaPlayer.PlaybackSession property to get a MediaPlaybackSession object and then use the MediaPlaybackSession.NaturalDuration property.
The actual duration of the media without applying the PlaybackRate.