Udostępnij za pośrednictwem


View.AddOnUnhandledKeyEventListener(View+IOnUnhandledKeyEventListener) Method

Definition

Adds a listener which will receive unhandled KeyEvents.

[Android.Runtime.Register("addOnUnhandledKeyEventListener", "(Landroid/view/View$OnUnhandledKeyEventListener;)V", "GetAddOnUnhandledKeyEventListener_Landroid_view_View_OnUnhandledKeyEventListener_Handler", ApiSince=28)]
public virtual void AddOnUnhandledKeyEventListener (Android.Views.View.IOnUnhandledKeyEventListener? listener);
[<Android.Runtime.Register("addOnUnhandledKeyEventListener", "(Landroid/view/View$OnUnhandledKeyEventListener;)V", "GetAddOnUnhandledKeyEventListener_Landroid_view_View_OnUnhandledKeyEventListener_Handler", ApiSince=28)>]
abstract member AddOnUnhandledKeyEventListener : Android.Views.View.IOnUnhandledKeyEventListener -> unit
override this.AddOnUnhandledKeyEventListener : Android.Views.View.IOnUnhandledKeyEventListener -> unit

Parameters

listener
View.IOnUnhandledKeyEventListener

a receiver of unhandled KeyEvents.

Attributes

Remarks

Java documentation for android.view.View.addOnUnhandledKeyEventListener(android.view.OnUnhandledKeyEventListener).

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