語言

AccessibilityEvent.TextChangeTypeInComposition 欄位

定義

警告

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

變更類型表示 #TYPE_VIEW_TEXT_CHANGED 事件,表示文本變更發生在進行中的 IME 創作中。

[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

欄位值

Value = 1

實作

屬性

備註

變更類型表示該文本變更發生在進行中的 IME 作品中TYPE_VIEW_TEXT_CHANGED事件。

文本變更發生在IME持續進行中的作品中。 這表示該文本是暫時性的,尚未被承諾。 對於預測文字或需要多步驟組成字形或單字的IME,TYPE_VIEW_TEXT_CHANGED事件可能會呈現為整個寫作文本的替換,而非漸進式變更。 此標記有助於服務了解此類中間文字更新的性質。

Android 參考資料。android.view.accessibility.AccessibilityEvent.TEXT_CHANGE_TYPE_IN_COMPOSITION

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於