MediaSession.Release Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.