Condividi tramite


MediaSession2Service.RemoveSession(MediaSession2) Method

Definition

Removes a session from this service.

[Android.Runtime.Register("removeSession", "(Landroid/media/MediaSession2;)V", "", ApiSince=29)]
public void RemoveSession (Android.Media.MediaSession2 session);
[<Android.Runtime.Register("removeSession", "(Landroid/media/MediaSession2;)V", "", ApiSince=29)>]
member this.RemoveSession : Android.Media.MediaSession2 -> unit

Parameters

session
MediaSession2

a session to be removed.

Attributes

Remarks

Java documentation for android.media.MediaSession2Service.removeSession(android.media.MediaSession2).

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