Class RatingAppearance

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

java.lang.Object ⇽ RatingAppearance

public class RatingAppearance

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

An object for customizing the standard design of the rating in an ad is created using RatingAppearance.Builder.

Nested Classes

Constructors

RatingAppearance(final Parcel in)

Methods

int describeContents()
boolean equals(final Object o)
int getBackgroundStarColor()

Returns the outline color of an empty (unfilled) star.

int getProgressStarColor()

Returns the color of a filled star.

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

Fields

final Creator< RatingAppearance > CREATOR

Constructor Detail

RatingAppearance

protected RatingAppearance (final Parcel in)

Method Detail

describeContents

public int describeContents ()

equals

public boolean equals (final Object o)

getBackgroundStarColor

public int getBackgroundStarColor ()

Returns the outline color of an empty (unfilled) star.

Returns:

The outline color of an empty (unfilled) star.

getProgressStarColor

public int getProgressStarColor ()

Returns the color of a filled star.

Returns:

The color of a filled star.

hashCode

public int hashCode ()

writeToParcel

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