다음을 통해 공유


MediaPlayer.Release Method

Definition

Releases resources associated with this MediaPlayer object.

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

Remarks

Releases resources associated with this MediaPlayer object.

You must call this method once the instance is no longer required.

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

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