次の方法で共有


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 ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象