TvView.OnUnhandledInputEvent(InputEvent) Method

Definition

Called when an unhandled input event also has not been handled by the user provided callback.

[Android.Runtime.Register("onUnhandledInputEvent", "(Landroid/view/InputEvent;)Z", "GetOnUnhandledInputEvent_Landroid_view_InputEvent_Handler")]
public virtual bool OnUnhandledInputEvent (Android.Views.InputEvent? e);
[<Android.Runtime.Register("onUnhandledInputEvent", "(Landroid/view/InputEvent;)Z", "GetOnUnhandledInputEvent_Landroid_view_InputEvent_Handler")>]
abstract member OnUnhandledInputEvent : Android.Views.InputEvent -> bool
override this.OnUnhandledInputEvent : Android.Views.InputEvent -> bool

Parameters

e
InputEvent

The input event.

Returns

If you handled the event, return true. If you want to allow the event to be handled by the next receiver, return false.

Attributes

Remarks

Called when an unhandled input event also has not been handled by the user provided callback. This is the last chance to handle the unhandled input event in the TvView.

Java documentation for android.media.tv.TvView.onUnhandledInputEvent(android.view.InputEvent).

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