InputConnectionWrapper.RequestCursorUpdates 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.
Overloads
| Name | Description |
|---|---|
| RequestCursorUpdates(Int32, Int32) |
Requests cursor and anchor updates from the target connection. |
| RequestCursorUpdates(Int32) |
Requests cursor and anchor updates from the target connection. |
RequestCursorUpdates(Int32, Int32)
Requests cursor and anchor updates from the target connection.
[Android.Runtime.Register("requestCursorUpdates", "(II)Z", "GetRequestCursorUpdates_IIHandler", ApiSince=34)]
public virtual bool RequestCursorUpdates(int cursorUpdateMode, int cursorUpdateFilter);
[<Android.Runtime.Register("requestCursorUpdates", "(II)Z", "GetRequestCursorUpdates_IIHandler", ApiSince=34)>]
abstract member RequestCursorUpdates : int * int -> bool
override this.RequestCursorUpdates : int * int -> bool
Parameters
- cursorUpdateFilter
- Int32
Zero or a combination of EditorBounds, CharacterBounds, InsertionMarker, VisibleLineBounds, and TextAppearance, cast to int.
Returns
The value returned by the target connection.
Implements
- Attributes
Remarks
The editor can call UpdateCursorAnchorInfo(View, CursorAnchorInfo) to send the updates.
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
RequestCursorUpdates(Int32)
Requests cursor and anchor updates from the target connection.
[Android.Runtime.Register("requestCursorUpdates", "(I)Z", "GetRequestCursorUpdates_IHandler")]
public virtual bool RequestCursorUpdates(int cursorUpdateMode);
[<Android.Runtime.Register("requestCursorUpdates", "(I)Z", "GetRequestCursorUpdates_IHandler")>]
abstract member RequestCursorUpdates : int -> bool
override this.RequestCursorUpdates : int -> bool
Parameters
- cursorUpdateMode
- Int32
Android.Views.InputMethods.InputConnection.CURSOR_UPDATE_IMMEDIATE
and/or
Android.Views.InputMethods.InputConnection.CURSOR_UPDATE_MONITOR. Pass 0 to disable the effect of
Android.Views.InputMethods.InputConnection.CURSOR_UPDATE_MONITOR.
Returns
The value returned by the target connection.
Implements
- Attributes
Remarks
The editor can call UpdateCursorAnchorInfo(View, CursorAnchorInfo) to send the updates.
Pass zero or a combination of the integer values of CursorUpdate and CursorUpdateFilter.
Java documentation for android.view.inputmethod.InputConnectionWrapper.requestCursorUpdates(int).
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.