Class SpannableString
com.yandex.mapkit
java.lang.Object ⇽ SpannableString
public class SpannableString
A string that supports spans in it.
Nested Classes
class | SpannableString.Span |
class | SpannableString.Span |
Constructors
SpannableString() | Use constructor with parameters in your code. |
SpannableString(String text, List< Span > spans) |
SpannableString() | Use constructor with parameters in your code. |
SpannableString(String text, List< Span > spans) |
Methods
String | getNativeName() | |
synchronized List< Span > | getSpans() | The spans in stored text. |
synchronized String | getText() | The text of the spannable string. |
void | serialize(Archive archive) |
String | getNativeName() | |
synchronized List< Span > | getSpans() | The spans in stored text. |
synchronized String | getText() | The text of the spannable string. |
void | serialize(Archive archive) |
Constructor Detail
SpannableString
public SpannableString ()
Use constructor with parameters in your code.
This one is for serialization only!SpannableString
public SpannableString (String text, List< Span > spans)
Method Detail
getNativeName
public static String getNativeName ()
getSpans
public synchronized List< Span > getSpans ()
The spans in stored text.
getText
public synchronized String getText ()
The text of the spannable string.
serialize
public void serialize (Archive archive)