Class Advertisement.Promo

com.yandex.mapkit.search

java.lang.Object ⇽ Advertisement.Promo

public class Advertisement.Promo

Enclosing Class:
Advertisement

Promo.

Methods

Promo()

Use constructor with parameters in your code.

Promo(@Nullable String title, @Nullable String details, @NonNull List< String > disclaimers, @Nullable String url, @Nullable Image banner)
synchronized Image getBanner()

Banner.

synchronized String getDetails()

Details.

synchronized List< String > getDisclaimers()

Disclaimers.

String getNativeName()
synchronized String getTitle()

Title.

synchronized String getUrl()

URL.

void serialize(Archive archive)

Method Detail

Promo

public Promo ()

Use constructor with parameters in your code.

This one is for serialization only!

Promo

public Promo (@Nullable String title, @Nullable String details, @NonNull List< String > disclaimers, @Nullable String url, @Nullable Image banner)

getBanner

public synchronized Image getBanner ()

Banner.

Optional field, can be null.

getDetails

public synchronized String getDetails ()

Details.

Optional field, can be null.

getDisclaimers

public synchronized List< String > getDisclaimers ()

Disclaimers.

getNativeName

public static String getNativeName ()

getTitle

public synchronized String getTitle ()

Title.

Optional field, can be null.

getUrl

public synchronized String getUrl ()

URL.

Optional field, can be null.

serialize

public void serialize (Archive archive)