InputConnection.CursorUpdateFilterVisibleLineBounds 字段

定义

注意

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

请求编辑器调用 InputMethodManager#updateCursorAnchorInfo(android.view.View, CursorAnchorInfo) 只要光标/定位点位置发生更改,编辑器或其父级 CursorAnchorInfo#getVisibleLineBounds() 将滚动,或者由于文本更新而更改行边界,则具有新的可见行边界。

[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

字段值

Value = 32
属性

注解

每当光标/定位点位置发生更改、编辑器或其父级滚动或由于文本更新而更改行边界时,将请求使用新的可见行边界CursorAnchorInfo#getVisibleLineBounds()进行调用InputMethodManager#updateCursorAnchorInfo(android.view.View, CursorAnchorInfo)。 若要禁用监视,请再次调用 InputConnection#requestCursorUpdates(int) 此标志。

此标志可以与其他筛选器结合使用:#CURSOR_UPDATE_FILTER_CHARACTER_BOUNDS#CURSOR_UPDATE_FILTER_EDITOR_BOUNDS、更新#CURSOR_UPDATE_FILTER_INSERTION_MARKER#CURSOR_UPDATE_FILTER_TEXT_APPEARANCE标志#CURSOR_UPDATE_IMMEDIATE#CURSOR_UPDATE_MONITOR

适用于 . 的 android.view.inputmethod.InputConnection.CURSOR_UPDATE_FILTER_VISIBLE_LINE_BOUNDSJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于