IInputMethodSession.UpdateCursorAnchorInfo(CursorAnchorInfo) Method

Definition

This method is called when the cursor and/or the character position relevant to text input is changed on the screen.

[Android.Runtime.Register("updateCursorAnchorInfo", "(Landroid/view/inputmethod/CursorAnchorInfo;)V", "GetUpdateCursorAnchorInfo_Landroid_view_inputmethod_CursorAnchorInfo_Handler:Android.Views.InputMethods.IInputMethodSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateCursorAnchorInfo (Android.Views.InputMethods.CursorAnchorInfo? cursorAnchorInfo);
[<Android.Runtime.Register("updateCursorAnchorInfo", "(Landroid/view/inputmethod/CursorAnchorInfo;)V", "GetUpdateCursorAnchorInfo_Landroid_view_inputmethod_CursorAnchorInfo_Handler:Android.Views.InputMethods.IInputMethodSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateCursorAnchorInfo : Android.Views.InputMethods.CursorAnchorInfo -> unit

Parameters

cursorAnchorInfo
CursorAnchorInfo

Positional information relevant to text input, such as text insertion point and composition string.

Attributes

Remarks

This method is called when the cursor and/or the character position relevant to text input is changed on the screen. This is not called by default. It will only be reported if requested by the input method.

Java documentation for android.view.inputmethod.InputMethodSession.updateCursorAnchorInfo(android.view.inputmethod.CursorAnchorInfo).

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