InputConnection.CursorUpdateFilterInsertionMarker Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 Insertion marker info CursorAnchorInfo#getInsertionMarkerFlags()
,
CursorAnchorInfo#getInsertionMarkerBaseline()
, etc whenever cursor/anchor position is
changed.
[Android.Runtime.Register("CURSOR_UPDATE_FILTER_INSERTION_MARKER", 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 CursorUpdateFilterInsertionMarker = 16;
[<Android.Runtime.Register("CURSOR_UPDATE_FILTER_INSERTION_MARKER", 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 CursorUpdateFilterInsertionMarker : Android.Views.InputMethods.CursorUpdateFilter
Field Value
Value = 16- Attributes
Remarks
The editor is requested to call InputMethodManager#updateCursorAnchorInfo(android.view.View, CursorAnchorInfo)
with new Insertion marker info CursorAnchorInfo#getInsertionMarkerFlags()
, CursorAnchorInfo#getInsertionMarkerBaseline()
, etc 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_CHARACTER_BOUNDS
, #CURSOR_UPDATE_FILTER_VISIBLE_LINE_BOUNDS
, #CURSOR_UPDATE_FILTER_TEXT_APPEARANCE
, #CURSOR_UPDATE_FILTER_EDITOR_BOUNDS
and update flags #CURSOR_UPDATE_IMMEDIATE
and #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.