AccessibilityService.OnCreateInputMethod 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
默认实现返回默认 InputMethod实现。
[Android.Runtime.Register("onCreateInputMethod", "()Landroid/accessibilityservice/InputMethod;", "GetOnCreateInputMethodHandler", ApiSince=33)]
public virtual Android.AccessibilityServices.InputMethod OnCreateInputMethod();
[<Android.Runtime.Register("onCreateInputMethod", "()Landroid/accessibilityservice/InputMethod;", "GetOnCreateInputMethodHandler", ApiSince=33)>]
abstract member OnCreateInputMethod : unit -> Android.AccessibilityServices.InputMethod
override this.OnCreateInputMethod : unit -> Android.AccessibilityServices.InputMethod
返回
InputMethod。
- 属性
注解
默认实现返回默认 InputMethod实现。 子类可以重写它以提供自己的自定义版本。 辅助功能服务需要设置 AccessibilityServiceInfo#FLAG_INPUT_METHOD_EDITOR 标志才能使用输入法 API。
Java文档android.accessibilityservice.AccessibilityService.onCreateInputMethod()。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。