Sdílet prostřednictvím


MediaPlayer.Pause Method

Definition

Pauses playback.

[Android.Runtime.Register("pause", "()V", "GetPauseHandler")]
public virtual void Pause ();
[<Android.Runtime.Register("pause", "()V", "GetPauseHandler")>]
abstract member Pause : unit -> unit
override this.Pause : unit -> unit
Attributes

Exceptions

if the internal player engine has not been initialized.

Remarks

Pauses playback. Call start() to resume.

Java documentation for android.media.MediaPlayer.pause().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to