SuggestionSpan.FlagGrammarError 字段

定义

注意

This constant will be removed in the future version. Use Android.Text.Style.SuggestionSpanFlags enum directly instead of this field.

如果建议适用于语法错误,则设置此标志。

[Android.Runtime.Register("FLAG_GRAMMAR_ERROR", ApiSince=31)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Text.Style.SuggestionSpanFlags enum directly instead of this field.", true)]
public const Android.Text.Style.SuggestionSpanFlags FlagGrammarError = 8;
[<Android.Runtime.Register("FLAG_GRAMMAR_ERROR", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Text.Style.SuggestionSpanFlags enum directly instead of this field.", true)>]
val mutable FlagGrammarError : Android.Text.Style.SuggestionSpanFlags

字段值

Value = 8

实现

属性

注解

如果建议适用于语法错误,则设置此标志。 这种建议以不同的方式呈现,以突出显示错误。

适用于 . 的 android.text.style.SuggestionSpan.FLAG_GRAMMAR_ERRORJava 文档

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

适用于