AccessibilityService.OnCreateInputMethod Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The default implementation returns our default 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
Returns
the InputMethod.
- Attributes
Remarks
The default implementation returns our default InputMethod
. Subclasses can override it to provide their own customized version. Accessibility services need to set the AccessibilityServiceInfo#FLAG_INPUT_METHOD_EDITOR
flag to use input method APIs.
Java documentation for android.accessibilityservice.AccessibilityService.onCreateInputMethod()
.
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.