共用方式為


TvInteractiveAppView.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", ApiSince=33)]
public virtual bool OnUnhandledInputEvent (Android.Views.InputEvent e);
[<Android.Runtime.Register("onUnhandledInputEvent", "(Landroid/view/InputEvent;)Z", "GetOnUnhandledInputEvent_Landroid_view_InputEvent_Handler", ApiSince=33)>]
abstract member OnUnhandledInputEvent : Android.Views.InputEvent -> bool
override this.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 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 TvInteractiveAppView.

Java documentation for android.media.tv.interactive.TvInteractiveAppView.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