语言

AccessibilityService.InputMethod 属性

定义

在系统调用 #onCreateInputMethod()后返回 InputMethod 实例,该实例可用于输入文本或获取可编辑的文本选择更改通知。

public Android.AccessibilityServices.InputMethod? InputMethod { [Android.Runtime.Register("getInputMethod", "()Landroid/accessibilityservice/InputMethod;", "", ApiSince=33)] get; }
[<get: Android.Runtime.Register("getInputMethod", "()Landroid/accessibilityservice/InputMethod;", "", ApiSince=33)>]
member this.InputMethod : Android.AccessibilityServices.InputMethod

属性值

InputMethod 实例

属性

注解

在系统调用 #onCreateInputMethod()后返回 InputMethod 实例,该实例可用于输入文本或获取可编辑的文本选择更改通知。 如果辅助功能服务未设置标志或系统未调用#onCreateInputMethod()AccessibilityServiceInfo#FLAG_INPUT_METHOD_EDITOR它将返回 null。

Java文档android.accessibilityservice.AccessibilityService.getInputMethod()

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于