Share via


AccessibilityService.InputMethod Property

Definition

Returns the InputMethod instance after the system calls #onCreateInputMethod(), which may be used to input text or get editable text selection change notifications.

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

Property Value

the InputMethod instance

Attributes

Remarks

Returns the InputMethod instance after the system calls #onCreateInputMethod(), which may be used to input text or get editable text selection change notifications. It will return null if the accessibility service doesn't set the AccessibilityServiceInfo#FLAG_INPUT_METHOD_EDITOR flag or the system doesn't call #onCreateInputMethod().

Java documentation for android.accessibilityservice.AccessibilityService.getInputMethod().

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