Language

TextUtils.StringOrSpannedStringFormatted(ICharSequence) Method

Definition

Gets an immutable string or spanned string for a character sequence.

[Android.Runtime.Register("stringOrSpannedString", "(Ljava/lang/CharSequence;)Ljava/lang/CharSequence;", "")]
public static Java.Lang.ICharSequence? StringOrSpannedStringFormatted(Java.Lang.ICharSequence? source);
[<Android.Runtime.Register("stringOrSpannedString", "(Ljava/lang/CharSequence;)Ljava/lang/CharSequence;", "")>]
static member StringOrSpannedStringFormatted : Java.Lang.ICharSequence -> Java.Lang.ICharSequence

Parameters

source
ICharSequence

The character sequence to represent as immutable text.

Returns

The existing spanned string, a spanned copy, or plain string text, as appropriate; null for a null source.

Attributes

Remarks

Android reference for android.text.TextUtils.stringOrSpannedString.

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