InputMethod.OnStartInput(EditorInfo, Boolean) 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.
Called to inform the accessibility service that text input has started in an editor.
[Android.Runtime.Register("onStartInput", "(Landroid/view/inputmethod/EditorInfo;Z)V", "GetOnStartInput_Landroid_view_inputmethod_EditorInfo_ZHandler", ApiSince=33)]
public virtual void OnStartInput (Android.Views.InputMethods.EditorInfo attribute, bool restarting);
[<Android.Runtime.Register("onStartInput", "(Landroid/view/inputmethod/EditorInfo;Z)V", "GetOnStartInput_Landroid_view_inputmethod_EditorInfo_ZHandler", ApiSince=33)>]
abstract member OnStartInput : Android.Views.InputMethods.EditorInfo * bool -> unit
override this.OnStartInput : Android.Views.InputMethods.EditorInfo * bool -> unit
Parameters
- attribute
- EditorInfo
The attributes of the editor that input is starting in.
- restarting
- Boolean
Set to true if input is restarting in the same editor such as because the application has changed the text in the editor. Otherwise will be false, indicating this is a new session with the editor.
- Attributes
Remarks
Called to inform the accessibility service that text input has started in an editor. You should use this callback to initialize the state of your input to match the state of the editor given to it.
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.