Sdílet prostřednictvím


MediaSession2.Builder.SetSessionCallback Method

Definition

[Android.Runtime.Register("setSessionCallback", "(Ljava/util/concurrent/Executor;Landroid/media/MediaSession2$SessionCallback;)Landroid/media/MediaSession2$Builder;", "", ApiSince=29)]
public Android.Media.MediaSession2.Builder SetSessionCallback (Java.Util.Concurrent.IExecutor executor, Android.Media.MediaSession2.SessionCallback callback);
[<Android.Runtime.Register("setSessionCallback", "(Ljava/util/concurrent/Executor;Landroid/media/MediaSession2$SessionCallback;)Landroid/media/MediaSession2$Builder;", "", ApiSince=29)>]
member this.SetSessionCallback : Java.Util.Concurrent.IExecutor * Android.Media.MediaSession2.SessionCallback -> Android.Media.MediaSession2.Builder

Parameters

executor
IExecutor

Returns

Attributes

Applies to