TvView.IOnUnhandledInputEventListener.OnUnhandledInputEvent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.