InputConnection.CursorUpdateFilterCharacterBounds Field

Definition

Caution

This constant will be removed in the future version. Use Android.Views.InputMethods.CursorUpdateFilter enum directly instead of this field.

The editor is requested to call InputMethodManager#updateCursorAnchorInfo(android.view.View, CursorAnchorInfo) with new character bounds CursorAnchorInfo#getCharacterBounds(int) whenever cursor/anchor position is changed.

[Android.Runtime.Register("CURSOR_UPDATE_FILTER_CHARACTER_BOUNDS", ApiSince=33)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.InputMethods.CursorUpdateFilter enum directly instead of this field.", true)]
public const Android.Views.InputMethods.CursorUpdateFilter CursorUpdateFilterCharacterBounds = 8;
[<Android.Runtime.Register("CURSOR_UPDATE_FILTER_CHARACTER_BOUNDS", ApiSince=33)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.InputMethods.CursorUpdateFilter enum directly instead of this field.", true)>]
val mutable CursorUpdateFilterCharacterBounds : Android.Views.InputMethods.CursorUpdateFilter

Field Value

Value = 8
Attributes

Remarks

The editor is requested to call InputMethodManager#updateCursorAnchorInfo(android.view.View, CursorAnchorInfo) with new character bounds CursorAnchorInfo#getCharacterBounds(int) whenever cursor/anchor position is changed. To disable monitoring, call InputConnection#requestCursorUpdates(int) again with this flag off.

This flag can be combined with other filters: #CURSOR_UPDATE_FILTER_EDITOR_BOUNDS, #CURSOR_UPDATE_FILTER_VISIBLE_LINE_BOUNDS, #CURSOR_UPDATE_FILTER_TEXT_APPEARANCE, #CURSOR_UPDATE_FILTER_INSERTION_MARKER and update flags #CURSOR_UPDATE_IMMEDIATE and #CURSOR_UPDATE_MONITOR.

Java documentation for android.view.inputmethod.InputConnection.CURSOR_UPDATE_FILTER_CHARACTER_BOUNDS.

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