TvInteractiveAppView.IOnUnhandledInputEventListener.OnUnhandledInputEvent Method

Definition

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

[Android.Runtime.Register("onUnhandledInputEvent", "(Landroid/view/InputEvent;)Z", "GetOnUnhandledInputEvent_Landroid_view_InputEvent_Handler:Android.Media.TV.Interactive.TvInteractiveAppView/IOnUnhandledInputEventListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=33)]
public bool OnUnhandledInputEvent (Android.Views.InputEvent e);
[<Android.Runtime.Register("onUnhandledInputEvent", "(Landroid/view/InputEvent;)Z", "GetOnUnhandledInputEvent_Landroid_view_InputEvent_Handler:Android.Media.TV.Interactive.TvInteractiveAppView/IOnUnhandledInputEventListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=33)>]
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 TV Interactive App.

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.interactive.TvInteractiveAppView.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