Freigeben über


AbstractInputMethodService.AbstractInputMethodSessionImpl.UpdateCursor 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")]
public abstract void UpdateCursor (Android.Graphics.Rect newCursor);
[<Android.Runtime.Register("updateCursor", "(Landroid/graphics/Rect;)V", "GetUpdateCursor_Landroid_graphics_Rect_Handler")>]
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.

Implements

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