Sdílet prostřednictvím


AsyncPlayer.Stop Method

Definition

Stop a previously played sound.

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

Remarks

Stop a previously played sound. It can't be played again or unpaused at this point. Calling this multiple times has no ill effects.

Java documentation for android.media.AsyncPlayer.stop().

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