Share via


MediaSession.SessionToken Property

Definition

Retrieve a token object that can be used by apps to create a MediaController for interacting with this session.

public Android.Media.Session.MediaSession.Token SessionToken { [Android.Runtime.Register("getSessionToken", "()Landroid/media/session/MediaSession$Token;", "")] get; }
[<get: Android.Runtime.Register("getSessionToken", "()Landroid/media/session/MediaSession$Token;", "")>]
member this.SessionToken : Android.Media.Session.MediaSession.Token

Property Value

A token that can be used to create a MediaController for this session

Attributes

Remarks

Java documentation for android.media.session.MediaSession.getSessionToken().

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