Aracılığıyla paylaş


InputMethodService.OnUpdateCursorAnchorInfo(CursorAnchorInfo) Method

Definition

Called when the application has reported a new location of its text insertion point and characters in the composition string.

[Android.Runtime.Register("onUpdateCursorAnchorInfo", "(Landroid/view/inputmethod/CursorAnchorInfo;)V", "GetOnUpdateCursorAnchorInfo_Landroid_view_inputmethod_CursorAnchorInfo_Handler")]
public virtual void OnUpdateCursorAnchorInfo (Android.Views.InputMethods.CursorAnchorInfo? cursorAnchorInfo);
[<Android.Runtime.Register("onUpdateCursorAnchorInfo", "(Landroid/view/inputmethod/CursorAnchorInfo;)V", "GetOnUpdateCursorAnchorInfo_Landroid_view_inputmethod_CursorAnchorInfo_Handler")>]
abstract member OnUpdateCursorAnchorInfo : Android.Views.InputMethods.CursorAnchorInfo -> unit
override this.OnUpdateCursorAnchorInfo : Android.Views.InputMethods.CursorAnchorInfo -> unit

Parameters

cursorAnchorInfo
CursorAnchorInfo

The positional information of the text insertion point and the composition string.

Attributes

Remarks

Called when the application has reported a new location of its text insertion point and characters in the composition string. This is only called if explicitly requested by the input method. The default implementation does nothing.

Java documentation for android.inputmethodservice.InputMethodService.onUpdateCursorAnchorInfo(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