Share via


MediaBrowserService.SessionToken Property

Definition

Gets the session token, or null if it has not yet been created or if it has been destroyed. -or- Call to set the media session.

public virtual Android.Media.Session.MediaSession.Token? SessionToken { [Android.Runtime.Register("getSessionToken", "()Landroid/media/session/MediaSession$Token;", "GetGetSessionTokenHandler")] get; [Android.Runtime.Register("setSessionToken", "(Landroid/media/session/MediaSession$Token;)V", "GetSetSessionToken_Landroid_media_session_MediaSession_Token_Handler")] set; }
[<get: Android.Runtime.Register("getSessionToken", "()Landroid/media/session/MediaSession$Token;", "GetGetSessionTokenHandler")>]
[<set: Android.Runtime.Register("setSessionToken", "(Landroid/media/session/MediaSession$Token;)V", "GetSetSessionToken_Landroid_media_session_MediaSession_Token_Handler")>]
member this.SessionToken : Android.Media.Session.MediaSession.Token with get, set

Property Value

To be added.

  • The media session token, must not be null. :

Attributes

Remarks

Property getter documentation:

Java documentation for android.service.media.MediaBrowserService.getSessionToken().

Property setter documentation:

Java documentation for android.service.media.MediaBrowserService.setSessionToken(android.media.session.Token).

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