共用方式為


MediaSessionManager.RemoveOnActiveSessionsChangedListener Method

Definition

Stop receiving active sessions updates on the specified listener.

[Android.Runtime.Register("removeOnActiveSessionsChangedListener", "(Landroid/media/session/MediaSessionManager$OnActiveSessionsChangedListener;)V", "")]
public void RemoveOnActiveSessionsChangedListener (Android.Media.Session.MediaSessionManager.IOnActiveSessionsChangedListener sessionListener);
[<Android.Runtime.Register("removeOnActiveSessionsChangedListener", "(Landroid/media/session/MediaSessionManager$OnActiveSessionsChangedListener;)V", "")>]
member this.RemoveOnActiveSessionsChangedListener : Android.Media.Session.MediaSessionManager.IOnActiveSessionsChangedListener -> unit

Parameters

sessionListener
MediaSessionManager.IOnActiveSessionsChangedListener

The listener to remove.

Attributes

Remarks

Java documentation for android.media.session.MediaSessionManager.removeOnActiveSessionsChangedListener(android.media.session.OnActiveSessionsChangedListener).

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