Compartilhar via


MediaSessionManager.IOnSession2TokensChangedListener.OnSession2TokensChanged Method

Definition

Called when the #getSession2Tokens() is changed.

[Android.Runtime.Register("onSession2TokensChanged", "(Ljava/util/List;)V", "GetOnSession2TokensChanged_Ljava_util_List_Handler:Android.Media.Session.MediaSessionManager/IOnSession2TokensChangedListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=29)]
public void OnSession2TokensChanged (System.Collections.Generic.IList<Android.Media.Session2Token> tokens);
[<Android.Runtime.Register("onSession2TokensChanged", "(Ljava/util/List;)V", "GetOnSession2TokensChanged_Ljava_util_List_Handler:Android.Media.Session.MediaSessionManager/IOnSession2TokensChangedListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=29)>]
abstract member OnSession2TokensChanged : System.Collections.Generic.IList<Android.Media.Session2Token> -> unit

Parameters

tokens
IList<Session2Token>

list of Session2Token

Attributes

Remarks

Java documentation for android.media.session.MediaSessionManager.OnSession2TokensChangedListener.onSession2TokensChanged(java.util.List<android.media.Session2Token>).

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