다음을 통해 공유


MediaRouter2.RegisterControllerCallback Method

Definition

Registers a ControllerCallback.

[Android.Runtime.Register("registerControllerCallback", "(Ljava/util/concurrent/Executor;Landroid/media/MediaRouter2$ControllerCallback;)V", "", ApiSince=30)]
public void RegisterControllerCallback (Java.Util.Concurrent.IExecutor executor, Android.Media.MediaRouter2.ControllerCallback callback);
[<Android.Runtime.Register("registerControllerCallback", "(Ljava/util/concurrent/Executor;Landroid/media/MediaRouter2$ControllerCallback;)V", "", ApiSince=30)>]
member this.RegisterControllerCallback : Java.Util.Concurrent.IExecutor * Android.Media.MediaRouter2.ControllerCallback -> unit

Parameters

executor
IExecutor
Attributes

Remarks

Java documentation for android.media.MediaRouter2.registerControllerCallback(java.util.concurrent.Executor, android.media.ControllerCallback).

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