TextUtils.SafeStringFlagFirstLine Field

Definition

Caution

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

Return only first line of text (truncate at first newline).

[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

Field Value

Value = 4
Attributes

Remarks

Return only first line of text (truncate at first newline). Cannot be set at the same time as #SAFE_STRING_FLAG_SINGLE_LINE.

Java documentation for android.text.TextUtils.SAFE_STRING_FLAG_FIRST_LINE.

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