Freigeben über


MediaSession.Release Method

Definition

This must be called when an app has finished performing playback.

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

Remarks

This must be called when an app has finished performing playback. If playback is expected to start again shortly the session can be left open, but it must be released if your activity or service is being destroyed.

Java documentation for android.media.session.MediaSession.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