TextUtils.SafeStringFlagFirstLine 字段

定义

注意

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

仅返回第一行文本(在第一个新行处截断)。

[Android.Runtime.Register("SAFE_STRING_FLAG_FIRST_LINE", ApiSince=29)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Text.SafeStringFlagMode enum directly instead of this field.", true)]
public const Android.Text.SafeStringFlagMode SafeStringFlagFirstLine = 4;
[<Android.Runtime.Register("SAFE_STRING_FLAG_FIRST_LINE", ApiSince=29)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Text.SafeStringFlagMode enum directly instead of this field.", true)>]
val mutable SafeStringFlagFirstLine : Android.Text.SafeStringFlagMode

字段值

Value = 4
属性

注解

仅返回第一行文本(在第一个新行处截断)。 不能同时 #SAFE_STRING_FLAG_SINGLE_LINE设置 。

适用于 . 的 android.text.TextUtils.SAFE_STRING_FLAG_FIRST_LINEJava 文档

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

适用于