Język

TvInteractiveAppManager.RegisterCallback Method

Definition

Registers a TvInteractiveAppCallback.

[Android.Runtime.Register("registerCallback", "(Ljava/util/concurrent/Executor;Landroid/media/tv/interactive/TvInteractiveAppManager$TvInteractiveAppCallback;)V", "", ApiSince=33)]
public void RegisterCallback(Java.Util.Concurrent.IExecutor executor, Android.Media.TV.Interactive.TvInteractiveAppManager.TvInteractiveAppCallback callback);
[<Android.Runtime.Register("registerCallback", "(Ljava/util/concurrent/Executor;Landroid/media/tv/interactive/TvInteractiveAppManager$TvInteractiveAppCallback;)V", "", ApiSince=33)>]
member this.RegisterCallback : Java.Util.Concurrent.IExecutor * Android.Media.TV.Interactive.TvInteractiveAppManager.TvInteractiveAppCallback -> unit

Parameters

executor
IExecutor

A Executor that the status change will be delivered to. Callback and listener events are dispatched through this Executor, providing an easy way to control which thread is used. To dispatch events through the main thread of your application, you can use Context.getMainExecutor(). Otherwise, provide an Executor that dispatches to an appropriate thread. This value cannot be null.

callback
TvInteractiveAppManager.TvInteractiveAppCallback

A callback used to monitor status of the TV Interactive App services. This value cannot be null.

Attributes

Remarks

Registers a TvInteractiveAppCallback.

Android reference for android.media.tv.interactive.TvInteractiveAppManager.registerCallback.

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