Class SubtitlePart

com.yandex.mapkit.search_layer

java.lang.Object ⇽ SubtitlePart

public class SubtitlePart

Subtitle part describes the specific attribute of the organization.

Constructors

SubtitlePart()

Use constructor with parameters in your code.

SubtitlePart(SubtitlePartType type, String text, SubtitleTag tag)
SubtitlePart()

Use constructor with parameters in your code.

SubtitlePart(SubtitlePartType type, String text, SubtitleTag tag)

Methods

String getNativeName()
synchronized SubtitleTag getTag()

Subtitle tag (optional)

synchronized String getText()

Text to display.

synchronized SubtitlePartType getType()

Type of the subtitle part.

void serialize(Archive archive)
String getNativeName()
synchronized SubtitleTag getTag()

Subtitle tag (optional)

synchronized String getText()

Text to display.

synchronized SubtitlePartType getType()

Type of the subtitle part.

void serialize(Archive archive)

Constructor Detail

SubtitlePart

public SubtitlePart ()

Use constructor with parameters in your code.

This one is for serialization only!

SubtitlePart

public SubtitlePart (SubtitlePartType type, String text, SubtitleTag tag)

Method Detail

getNativeName

public static String getNativeName ()

getTag

public synchronized SubtitleTag getTag ()

Subtitle tag (optional)

Optional field, can be null.

getText

public synchronized String getText ()

Text to display.

getType

public synchronized SubtitlePartType getType ()

Type of the subtitle part.

serialize

public void serialize (Archive archive)