Aracılığıyla paylaş


InputConnection.CursorUpdateFilterVisibleLineBounds 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 visible line bounds CursorAnchorInfo#getVisibleLineBounds() whenever cursor/anchor position is changed, the editor or its parent is scrolled or the line bounds changed due to text updates.

[Android.Runtime.Register("CURSOR_UPDATE_FILTER_VISIBLE_LINE_BOUNDS", ApiSince=34)]
[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 CursorUpdateFilterVisibleLineBounds = 32;
[<Android.Runtime.Register("CURSOR_UPDATE_FILTER_VISIBLE_LINE_BOUNDS", ApiSince=34)>]
[<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 CursorUpdateFilterVisibleLineBounds : Android.Views.InputMethods.CursorUpdateFilter

Field Value

Value = 32
Attributes

Remarks

The editor is requested to call InputMethodManager#updateCursorAnchorInfo(android.view.View, CursorAnchorInfo) with new visible line bounds CursorAnchorInfo#getVisibleLineBounds() whenever cursor/anchor position is changed, the editor or its parent is scrolled or the line bounds changed due to text updates. To disable monitoring, call InputConnection#requestCursorUpdates(int) again with this flag off.

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

Java documentation for android.view.inputmethod.InputConnection.CURSOR_UPDATE_FILTER_VISIBLE_LINE_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