Class ImageAppearance

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

java.lang.Object ⇽ ImageAppearance

public class ImageAppearance implements android.os.Parcelable

All Implemented Interfaces:
android.os.Parcelable

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

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

Nested Classes

Methods

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

Returns the image width constraint.

int hashCode()
void writeToParcel(android.os.Parcel dest, int flags)

Fields

final Creator< ImageAppearance > CREATOR

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 (android.os.Parcel dest, int flags)