Class NativeAdAssets

com.yandex.mobile.ads.nativeads

public abstract class NativeAdAssets

A class that contains native ad assets.

Methods

boolean equals(final Object o)
String getAge()

Returns a value that defines age restrictions.

String getBody()

Returns the main ad text.

String getCallToAction()

Returns the label of a call-to-action button.

String getDomain()

Returns the ad domain.

NativeAdImage getFavicon()

Returns the favicon of the advertiser's webpage.

NativeAdImage getIcon()

Returns the icon of the advertised app.

NativeAdImage getImage()

Returns the main image in the ad.

NativeAdMedia getMedia()

Returns media content (an object of the NativeAdMedia class).

String getPrice()

Returns the price of the advertised app.

Float getRating()

Returns the rating of the advertised app.

String getReviewCount()

Returns the number of app reviews.

String getSponsored()

Returns information about the advertiser.

String getTitle()

Returns the ad title.

String getWarning()

Returns the warning text.

int hashCode()

Method Detail

equals

public boolean equals (final Object o)

getAge

public String getAge ()

Returns a value that defines age restrictions.

Returns:

A value that defines age restrictions.

getBody

public String getBody ()

Returns the main ad text.

Returns:

The main ad text.

getCallToAction

public String getCallToAction ()

Returns the label of a call-to-action button.

Returns:

Label of a call-to-action button.

getDomain

public String getDomain ()

Returns the ad domain.

Returns:

Ad domain.

getFavicon

public NativeAdImage getFavicon ()

Returns the favicon of the advertiser's webpage.

Returns:

The advertiser's webpage favicon.

getIcon

public NativeAdImage getIcon ()

Returns the icon of the advertised app.

Returns:

The app's icon.

getImage

public NativeAdImage getImage ()

Returns the main image in the ad.

Returns:

The main image in the ad.

getMedia

public NativeAdMedia getMedia ()

Returns media content (an object of the NativeAdMedia class).

Returns:

An object of the NativeAdMedia class.

getPrice

public String getPrice ()

Returns the price of the advertised app.

Returns:

The price of the advertised app.

getRating

public Float getRating ()

Returns the rating of the advertised app.

Returns:

The app's rating.

getReviewCount

public String getReviewCount ()

Returns the number of app reviews.

Returns:

The number of app reviews.

getSponsored

public String getSponsored ()

Returns information about the advertiser.

Returns:

Information about the advertiser.

getTitle

public String getTitle ()

Returns the ad title.

Returns:

The ad title.

getWarning

public String getWarning ()

Returns the warning text.

Returns:

Warning text.

hashCode

public int hashCode ()