MediaCommunicationManager.Session2Tokens Property
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.
This API is not generally intended for third party application developers.
public virtual System.Collections.Generic.IList<Android.Media.Session2Token> Session2Tokens { [Android.Runtime.Register("getSession2Tokens", "()Ljava/util/List;", "GetGetSession2TokensHandler", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getSession2Tokens", "()Ljava/util/List;", "GetGetSession2TokensHandler", ApiSince=31)>]
member this.Session2Tokens : System.Collections.Generic.IList<Android.Media.Session2Token>
Property Value
A list of Session2Token
.
- Attributes
Remarks
This API is not generally intended for third party application developers. Use the AndroidXMedia2 session Library for consistent behavior across all devices.
Gets a list of Session2Token
with type Session2Token#TYPE_SESSION
for the current user.
Although this API can be used without any restriction, each session owners can accept or reject your uses of MediaSession2
.
Java documentation for android.media.MediaCommunicationManager.getSession2Tokens()
.
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.