TvView.SetCallback(TvView+TvInputCallback) Method

Definition

Sets the callback to be invoked when an event is dispatched to this TvView.

[Android.Runtime.Register("setCallback", "(Landroid/media/tv/TvView$TvInputCallback;)V", "GetSetCallback_Landroid_media_tv_TvView_TvInputCallback_Handler")]
public virtual void SetCallback (Android.Media.TV.TvView.TvInputCallback? callback);
[<Android.Runtime.Register("setCallback", "(Landroid/media/tv/TvView$TvInputCallback;)V", "GetSetCallback_Landroid_media_tv_TvView_TvInputCallback_Handler")>]
abstract member SetCallback : Android.Media.TV.TvView.TvInputCallback -> unit
override this.SetCallback : Android.Media.TV.TvView.TvInputCallback -> unit

Parameters

callback
TvView.TvInputCallback

The callback to receive events. A value of null removes the existing callback.

Attributes

Remarks

Java documentation for android.media.tv.TvView.setCallback(android.media.tv.TvInputCallback).

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