다음을 통해 공유


TextUtils.SafeStringFlagSingleLine Field

Definition

Caution

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

Force entire string into single line of text (no newlines).

[Android.Runtime.Register("SAFE_STRING_FLAG_SINGLE_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 SafeStringFlagSingleLine = 2;
[<Android.Runtime.Register("SAFE_STRING_FLAG_SINGLE_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 SafeStringFlagSingleLine : Android.Text.SafeStringFlagMode

Field Value

Value = 2
Attributes

Remarks

Force entire string into single line of text (no newlines). Cannot be set at the same time as #SAFE_STRING_FLAG_FIRST_LINE.

Java documentation for android.text.TextUtils.SAFE_STRING_FLAG_SINGLE_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