BaseInputConnection.PerformEditorAction(ImeAction) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
默认实现将此转换为 Enter 键。
[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
参数
- actionCode
- ImeAction
这必须是操作常量 ImeOptions之一,例如 Android.Views.InputMethods.EditorInfo.IME_ACTION_GO。
返回
实现
- 属性
注解
默认实现将此转换为 Enter 键。
适用于 . 的 android.view.inputmethod.BaseInputConnection.performEditorAction(int)
Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。