MediaSession2Service.AddSession(MediaSession2) 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.
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.