Språk

InputConnectionWrapper.PerformEditorAction(ImeAction) Method

Definition

Have the editor perform an action it has said it can do.

[Android.Runtime.Register("performEditorAction", "(I)Z", "GetPerformEditorAction_IHandler")]
public virtual bool PerformEditorAction(Android.Views.InputMethods.ImeAction editorAction);
[<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

editorAction
ImeAction

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

Returns

true on success, false if the input connection is no longer valid.

Implements

Attributes

Remarks

Have the editor perform an action it has said it can do.

Java documentation for android.view.inputmethod.InputConnectionWrapper.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