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