MediaSessionManager.NotifySession2Created(Session2Token) 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.
Notifies that a new MediaSession2
with type Session2Token#TYPE_SESSION
is
created.
[Android.Runtime.Register("notifySession2Created", "(Landroid/media/Session2Token;)V", "", ApiSince=29)]
public void NotifySession2Created(Android.Media.Session2Token token);
[<Android.Runtime.Register("notifySession2Created", "(Landroid/media/Session2Token;)V", "", ApiSince=29)>]
member this.NotifySession2Created : Android.Media.Session2Token -> unit
Parameters
- token
- Session2Token
newly created session2 token
- Attributes
Remarks
Notifies that a new MediaSession2
with type Session2Token#TYPE_SESSION
is created.
Do not use this API directly, but create a new instance through the MediaSession2.Builder
instead.
This member is deprecated. Don't use this method. A new media session is notified automatically.
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.