Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 884 Bytes

mediaplayer_naturalduration.md

File metadata and controls

25 lines (17 loc) · 884 Bytes
-api-id -api-type
P:Windows.Media.Playback.MediaPlayer.NaturalDuration
winrt property

Windows.Media.Playback.MediaPlayer.NaturalDuration

-description

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.

-property-value

The actual duration of the media without applying the PlaybackRate.

-remarks

-examples

-see-also