com.yandex.mobile.ads.nativeads.template.appearance
Class RatingAppearance
java.lang.Object
com.yandex.mobile.ads.nativeads.template.appearance.RatingAppearance
- All Implemented Interfaces:
- android.os.Parcelable
public final class RatingAppearance
extends java.lang.Object
implements android.os.Parcelable
RatingAppearance provides interfaces for Rating customization. RatingAppearance are created using
RatingAppearance.Builder
.Nested Class Summary
Modifier and Type | Class and Description |
---|---|
static class | RatingAppearance.Builder
Builds a
RatingAppearance . |
Field Summary
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<RatingAppearance> | CREATOR |
Method Summary
Modifier and Type | Method and Description |
---|---|
int | describeContents() |
boolean | equals(java.lang.Object o) |
int | getBackgroundStarColor()
Returns the background star color specified for Rating.
|
int | getProgressStarColor()
Returns the progress star color specified for Rating.
|
int | hashCode() |
void | writeToParcel(android.os.Parcel dest, int flags) |
Method Detail
getBackgroundStarColor
public int getBackgroundStarColor()
Returns the background star color specified for Rating.
- Returns:
- background star color of the Rating.
getProgressStarColor
public int getProgressStarColor()
Returns the progress star color specified for Rating.
- Returns:
- progress star color of the Rating.
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
describeContents
public int describeContents()
- Specified by:
describeContents
in interfaceandroid.os.Parcelable
writeToParcel
public void writeToParcel(android.os.Parcel dest, int flags)
- Specified by:
writeToParcel
in interfaceandroid.os.Parcelable