IInputConnection.Handler Property
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.
Called by the system to enable application developers to specify a dedicated thread on which InputConnection methods are called back.
public Android.OS.Handler? Handler { [Android.Runtime.Register("getHandler", "()Landroid/os/Handler;", "GetGetHandlerHandler:Android.Views.InputMethods.IInputConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getHandler", "()Landroid/os/Handler;", "GetGetHandlerHandler:Android.Views.InputMethods.IInputConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)>]
member this.Handler : Android.OS.Handler
Property Value
null to use the default Handler.
- Attributes
Remarks
Called by the system to enable application developers to specify a dedicated thread on which InputConnection methods are called back.
Editor authors: although you can return your custom subclasses of Handler, the system only uses Looper returned from Handler.getLooper(). You cannot intercept or cancel InputConnection callbacks by implementing this method.
IME authors: This method is not intended to be called from the IME. You will always receive null.
Android reference for android.view.inputmethod.InputConnection.getHandler.
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.