InputMethodService.OnUpdateCursor(Rect) 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.
Caution
deprecated
Called when the application has reported a new location of its text cursor.
[Android.Runtime.Register("onUpdateCursor", "(Landroid/graphics/Rect;)V", "GetOnUpdateCursor_Landroid_graphics_Rect_Handler")]
[System.Obsolete("deprecated")]
public virtual void OnUpdateCursor (Android.Graphics.Rect? newCursor);
[<Android.Runtime.Register("onUpdateCursor", "(Landroid/graphics/Rect;)V", "GetOnUpdateCursor_Landroid_graphics_Rect_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member OnUpdateCursor : Android.Graphics.Rect -> unit
override this.OnUpdateCursor : Android.Graphics.Rect -> unit
Parameters
- newCursor
- Rect
- Attributes
Remarks
Called when the application has reported a new location of its text cursor. This is only called if explicitly requested by the input method. The default implementation does nothing.
This member is deprecated. Use #onUpdateCursorAnchorInfo(CursorAnchorInfo)
instead.
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.