-api-id | -api-type |
---|---|
P:Windows.Media.Playback.MediaPlaybackSession.Position |
winrt property |
Gets or sets the current playback position within the currently playing media.
The current playback position within the currently playing media.
Note that after you call MediaPlayer.Pause, the time represented by the Position property may not be precisely accurate. Apps that need a frame-accurate position value, such as media editors, should call MediaPlayer.StepForwardOneFrame immediately after calling Pause before reading the Position value.