다음을 통해 공유


MediaSession2Service.AddSession(MediaSession2) Method

Definition

Adds a session to this service.

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

Parameters

session
MediaSession2

a session to be added.

Attributes

Remarks

Java documentation for android.media.MediaSession2Service.addSession(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