Condividi tramite


TvInputManager.RegisterCallback Method

Definition

Registers a TvInputCallback.

[Android.Runtime.Register("registerCallback", "(Landroid/media/tv/TvInputManager$TvInputCallback;Landroid/os/Handler;)V", "")]
public void RegisterCallback (Android.Media.TV.TvInputManager.TvInputCallback callback, Android.OS.Handler handler);
[<Android.Runtime.Register("registerCallback", "(Landroid/media/tv/TvInputManager$TvInputCallback;Landroid/os/Handler;)V", "")>]
member this.RegisterCallback : Android.Media.TV.TvInputManager.TvInputCallback * Android.OS.Handler -> unit

Parameters

callback
TvInputManager.TvInputCallback

A callback used to monitor status of the TV inputs.

handler
Handler

A Handler that the status change will be delivered to.

Attributes

Exceptions

if any of the arguments is null.

Remarks

Java documentation for android.media.tv.TvInputManager.registerCallback(android.media.tv.TvInputCallback, android.os.Handler).

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