Notification.MediaStyle.SetMediaSession(MediaSession+Token) Notification.MediaStyle.SetMediaSession(MediaSession+Token) Method

Definition

Attach a MediaSession.Token to this Notification.

[Android.Runtime.Register("setMediaSession", "(Landroid/media/session/MediaSession$Token;)Landroid/app/Notification$MediaStyle;", "GetSetMediaSession_Landroid_media_session_MediaSession_Token_Handler")]
public virtual Android.App.Notification.MediaStyle SetMediaSession (Android.Media.Session.MediaSession.Token token);
abstract member SetMediaSession : Android.Media.Session.MediaSession.Token -> Android.App.Notification.MediaStyle
override this.SetMediaSession : Android.Media.Session.MediaSession.Token -> Android.App.Notification.MediaStyle

Parameters

Returns

Remarks

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