MediaController2.Builder.SetControllerCallback Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set callback for the controller and its executor.
[Android.Runtime.Register("setControllerCallback", "(Ljava/util/concurrent/Executor;Landroid/media/MediaController2$ControllerCallback;)Landroid/media/MediaController2$Builder;", "", ApiSince=29)]
public Android.Media.MediaController2.Builder SetControllerCallback(Java.Util.Concurrent.IExecutor executor, Android.Media.MediaController2.ControllerCallback callback);
[<Android.Runtime.Register("setControllerCallback", "(Ljava/util/concurrent/Executor;Landroid/media/MediaController2$ControllerCallback;)Landroid/media/MediaController2$Builder;", "", ApiSince=29)>]
member this.SetControllerCallback : Java.Util.Concurrent.IExecutor * Android.Media.MediaController2.ControllerCallback -> Android.Media.MediaController2.Builder
Parameters
- executor
- IExecutor
callback executor. This value cannot be null.
- callback
- MediaController2.ControllerCallback
session callback. This value cannot be null.
Returns
The Builder to allow chaining. This value cannot be null.
- Attributes
Remarks
Set callback for the controller and its executor.
Android reference for android.media.MediaController2.Builder.setControllerCallback.
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.