共用方式為


MediaSessionManager.IOnActiveSessionsChangedListener.OnActiveSessionsChanged Method

Definition

[Android.Runtime.Register("onActiveSessionsChanged", "(Ljava/util/List;)V", "GetOnActiveSessionsChanged_Ljava_util_List_Handler:Android.Media.Session.MediaSessionManager/IOnActiveSessionsChangedListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnActiveSessionsChanged (System.Collections.Generic.IList<Android.Media.Session.MediaController>? controllers);
[<Android.Runtime.Register("onActiveSessionsChanged", "(Ljava/util/List;)V", "GetOnActiveSessionsChanged_Ljava_util_List_Handler:Android.Media.Session.MediaSessionManager/IOnActiveSessionsChangedListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnActiveSessionsChanged : System.Collections.Generic.IList<Android.Media.Session.MediaController> -> unit

Parameters

controllers
IList<MediaController>
Attributes

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