MediaPlayer.Pause MediaPlayer.Pause MediaPlayer.Pause MediaPlayer.Pause MediaPlayer.Pause Method

Definition

Pauses media playback.

public : void Pause()
void Pause() const;
public void Pause()
Public Sub Pause()
mediaPlayer.pause();

Remarks

Note that after you call 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.