Taal

CursorUpdate Enum

Definition

Enumerates values returned by the Immediate, and Monitor members.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum CursorUpdate
[<System.Flags>]
type CursorUpdate = 
Inheritance
CursorUpdate
Attributes

Fields

Name Value Description
None 0

No cursor update mode flags are set.

Immediate 1

The editor is requested to call UpdateCursorAnchorInfo(View, CursorAnchorInfo) as soon as possible, regardless of cursor or anchor position changes. This flag can be used together with Monitor.

Without filters, the editor may include all available cursor data. Specify CursorUpdateFilter values to select data and reduce processing. Cast the mode and filter values to integers for RequestCursorUpdates(Int32).

Android reference for android.view.inputmethod.InputConnection.CURSOR_UPDATE_IMMEDIATE.

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.

Monitor 2

The editor is requested to call UpdateCursorAnchorInfo(View, CursorAnchorInfo) whenever the cursor or anchor position changes. To disable monitoring, call RequestCursorUpdates(Int32) again without this flag.

This flag can be used together with Immediate.

Without filters, the editor may include all available cursor data. Specify CursorUpdateFilter values to select data and reduce processing. Cast the mode and filter values to integers for RequestCursorUpdates(Int32).

Android reference for android.view.inputmethod.InputConnection.CURSOR_UPDATE_MONITOR.

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.

Remarks

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