Sdílet prostřednictvím


MediaPlayer.Start Method

Definition

Starts or resumes playback.

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

Exceptions

if it is called in an invalid state

Remarks

Starts or resumes playback. If playback had previously been paused, playback will continue from where it was paused. If playback had been stopped, or never started before, playback will start at the beginning.

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

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