Taal

InputConnectionWrapper.RequestCursorUpdates Method

Definition

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

cursorUpdateMode
Int32

Zero or a combination of Immediate and Monitor, cast to int.

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.

Java documentation for android.view.inputmethod.InputConnectionWrapper.requestCursorUpdates(int, 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.

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

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.

Applies to