共用方式為


MediaSessionManager.AddOnSession2TokensChangedListener Method

Definition

Overloads

AddOnSession2TokensChangedListener(MediaSessionManager+IOnSession2TokensChangedListener)

This API is not generally intended for third party application developers.

AddOnSession2TokensChangedListener(MediaSessionManager+IOnSession2TokensChangedListener, Handler)

This API is not generally intended for third party application developers.

AddOnSession2TokensChangedListener(MediaSessionManager+IOnSession2TokensChangedListener)

This API is not generally intended for third party application developers.

[Android.Runtime.Register("addOnSession2TokensChangedListener", "(Landroid/media/session/MediaSessionManager$OnSession2TokensChangedListener;)V", "", ApiSince=29)]
public void AddOnSession2TokensChangedListener (Android.Media.Session.MediaSessionManager.IOnSession2TokensChangedListener listener);
[<Android.Runtime.Register("addOnSession2TokensChangedListener", "(Landroid/media/session/MediaSessionManager$OnSession2TokensChangedListener;)V", "", ApiSince=29)>]
member this.AddOnSession2TokensChangedListener : Android.Media.Session.MediaSessionManager.IOnSession2TokensChangedListener -> unit

Parameters

Attributes

Remarks

Java documentation for android.media.session.MediaSessionManager.addOnSession2TokensChangedListener(android.media.session.OnSession2TokensChangedListener).

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

AddOnSession2TokensChangedListener(MediaSessionManager+IOnSession2TokensChangedListener, Handler)

This API is not generally intended for third party application developers.

[Android.Runtime.Register("addOnSession2TokensChangedListener", "(Landroid/media/session/MediaSessionManager$OnSession2TokensChangedListener;Landroid/os/Handler;)V", "", ApiSince=29)]
public void AddOnSession2TokensChangedListener (Android.Media.Session.MediaSessionManager.IOnSession2TokensChangedListener listener, Android.OS.Handler handler);
[<Android.Runtime.Register("addOnSession2TokensChangedListener", "(Landroid/media/session/MediaSessionManager$OnSession2TokensChangedListener;Landroid/os/Handler;)V", "", ApiSince=29)>]
member this.AddOnSession2TokensChangedListener : Android.Media.Session.MediaSessionManager.IOnSession2TokensChangedListener * Android.OS.Handler -> unit

Parameters

handler
Handler
Attributes

Remarks

Java documentation for android.media.session.MediaSessionManager.addOnSession2TokensChangedListener(android.media.session.OnSession2TokensChangedListener).

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