Class ImageAppearance

com.yandex.mobile.ads.nativeads.template.appearance

java.lang.Object ⇽ ImageAppearance

public class ImageAppearance

A class that defines the interface for customizing the standard image appearance in an ad.

An object for customizing the standard image appearance in an ad is created using ImageAppearance.Builder.

Nested Classes

Constructors

ImageAppearance(final Parcel in)

Methods

int describeContents()
boolean equals(final Object o)
SizeConstraint getWidthConstraint()

Returns the image width constraint.

int hashCode()
void writeToParcel(final Parcel dest, final int flags)

Fields

final Creator< ImageAppearance > CREATOR

Constructor Detail

ImageAppearance

protected ImageAppearance (final Parcel in)

Method Detail

describeContents

public int describeContents ()

equals

public boolean equals (final Object o)

getWidthConstraint

public SizeConstraint getWidthConstraint ()

Returns the image width constraint.

Returns:

The image width constraint.

hashCode

public int hashCode ()

writeToParcel

public void writeToParcel (final Parcel dest, final int flags)