Class Advertisement.TextData

com.yandex.mapkit.search

java.lang.Object ⇽ Advertisement.TextData

public class Advertisement.TextData

Enclosing Class:
Advertisement

Text.

Methods

TextData()

Use constructor with parameters in your code.

TextData(@Nullable String title, @Nullable String text, @NonNull List< String > disclaimers, @Nullable String url)
synchronized List< String > getDisclaimers()

Disclaimers.

String getNativeName()
synchronized String getText()

Text.

synchronized String getTitle()

Title.

synchronized String getUrl()

Optional link.

void serialize(Archive archive)

Method Detail

TextData

public TextData ()

Use constructor with parameters in your code.

This one is for serialization only!

TextData

public TextData (@Nullable String title, @Nullable String text, @NonNull List< String > disclaimers, @Nullable String url)

getDisclaimers

public synchronized List< String > getDisclaimers ()

Disclaimers.

getNativeName

public static String getNativeName ()

getText

public synchronized String getText ()

Text.

Optional field, can be null.

getTitle

public synchronized String getTitle ()

Title.

Optional field, can be null.

getUrl

public synchronized String getUrl ()

Optional link.

Optional field, can be null.

serialize

public void serialize (Archive archive)