语言

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设置 。

Java文档android.text.TextUtils.SAFE_STRING_FLAG_FIRST_LINE。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于