Language

AccessibilityEvent.TextChangeTypeInComposition Field

Definition

Caution

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

Change type for #TYPE_VIEW_TEXT_CHANGED event indicating that the text change occurred within an ongoing IME composition.

[Android.Runtime.Register("TEXT_CHANGE_TYPE_IN_COMPOSITION", ApiSince=37)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.Accessibility.TextChangeTypes enum directly instead of this field.", true)]
public const Android.Views.Accessibility.TextChangeTypes TextChangeTypeInComposition = 1;
[<Android.Runtime.Register("TEXT_CHANGE_TYPE_IN_COMPOSITION", ApiSince=37)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.Accessibility.TextChangeTypes enum directly instead of this field.", true)>]
val mutable TextChangeTypeInComposition : Android.Views.Accessibility.TextChangeTypes

Field Value

Value = 1

Implements

Attributes

Remarks

Change type for TYPE_VIEW_TEXT_CHANGED event indicating that the text change occurred within an ongoing IME composition.

The text change occurred within an ongoing IME composition. This indicates the text is transient and not yet committed. For IMEs that predict text or requires multiple steps to compose a glyph or word, the TYPE_VIEW_TEXT_CHANGED event may appear as a replacement of the entire composing text rather than an incremental change. This flag helps services understand the nature of such intermediate text updates.

Android reference for android.view.accessibility.AccessibilityEvent.TEXT_CHANGE_TYPE_IN_COMPOSITION.

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