Language

BaseInputConnection.PerformEditorAction(ImeAction) Method

Definition

The default implementation turns this into the enter key.

[Android.Runtime.Register("performEditorAction", "(I)Z", "GetPerformEditorAction_IHandler")]
public virtual bool PerformEditorAction(Android.Views.InputMethods.ImeAction actionCode);
[<Android.Runtime.Register("performEditorAction", "(I)Z", "GetPerformEditorAction_IHandler")>]
abstract member PerformEditorAction : Android.Views.InputMethods.ImeAction -> bool
override this.PerformEditorAction : Android.Views.InputMethods.ImeAction -> bool

Parameters

actionCode
ImeAction

This must be one of the action constants for ImeOptions, such as Android.Views.InputMethods.EditorInfo.IME_ACTION_GO.

Returns

The default implementation returns true after it calls sendKeyEvent for the enter key events.

Implements

Attributes

Remarks

The default implementation turns this into the enter key.

Java documentation for android.view.inputmethod.BaseInputConnection.performEditorAction(int).

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