Dela via


TvView.IOnUnhandledInputEventListener.OnUnhandledInputEvent Method

Definition

Called when an input event was not handled by the bound TV input.

[Android.Runtime.Register("onUnhandledInputEvent", "(Landroid/view/InputEvent;)Z", "GetOnUnhandledInputEvent_Landroid_view_InputEvent_Handler:Android.Media.TV.TvView/IOnUnhandledInputEventListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool OnUnhandledInputEvent (Android.Views.InputEvent? e);
[<Android.Runtime.Register("onUnhandledInputEvent", "(Landroid/view/InputEvent;)Z", "GetOnUnhandledInputEvent_Landroid_view_InputEvent_Handler:Android.Media.TV.TvView/IOnUnhandledInputEventListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnUnhandledInputEvent : Android.Views.InputEvent -> bool

Parameters

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 input event was not handled by the bound TV input.

This is called asynchronously from where the event is dispatched. It gives the host application a chance to handle the unhandled input events.

Java documentation for android.media.tv.TvView.OnUnhandledInputEventListener.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