Udostępnij za pośrednictwem


BaseInputConnection.SendKeyEvent(KeyEvent) Method

Definition

Provides standard implementation for sending a key event to the window attached to the input connection's view.

[Android.Runtime.Register("sendKeyEvent", "(Landroid/view/KeyEvent;)Z", "GetSendKeyEvent_Landroid_view_KeyEvent_Handler")]
public virtual bool SendKeyEvent (Android.Views.KeyEvent? e);
[<Android.Runtime.Register("sendKeyEvent", "(Landroid/view/KeyEvent;)Z", "GetSendKeyEvent_Landroid_view_KeyEvent_Handler")>]
abstract member SendKeyEvent : Android.Views.KeyEvent -> bool
override this.SendKeyEvent : Android.Views.KeyEvent -> bool

Parameters

e
KeyEvent

The key event.

Returns

Implements

Attributes

Remarks

Provides standard implementation for sending a key event to the window attached to the input connection's view.

Java documentation for android.view.inputmethod.BaseInputConnection.sendKeyEvent(android.view.KeyEvent).

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