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.
Gets the handler that specifies the thread for input connection callbacks.
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
The handler for callbacks, or null to use the default handler.
- Attributes
Remarks
The system uses this property to let editor authors specify a thread for input connection callbacks.
Editor authors can return a custom handler, but the system uses only its Looper. The handler cannot intercept or cancel input connection callbacks.
Input method authors should not use this property. Calls from an input method return 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.