Compartir a través de


IInputMethodSession.UpdateCursor(Rect) Method

Definition

This method is called when cursor location of the target input field has changed within its window.

[Android.Runtime.Register("updateCursor", "(Landroid/graphics/Rect;)V", "GetUpdateCursor_Landroid_graphics_Rect_Handler:Android.Views.InputMethods.IInputMethodSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateCursor (Android.Graphics.Rect? newCursor);
[<Android.Runtime.Register("updateCursor", "(Landroid/graphics/Rect;)V", "GetUpdateCursor_Landroid_graphics_Rect_Handler:Android.Views.InputMethods.IInputMethodSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateCursor : Android.Graphics.Rect -> unit

Parameters

newCursor
Rect

The rectangle of the cursor currently being shown in the input field's window coordinates.

Attributes

Remarks

This method is called when cursor location of the target input field has changed within its window. This is not normally called, but will only be reported if requested by the input method.

Java documentation for android.view.inputmethod.InputMethodSession.updateCursor(android.graphics.Rect).

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