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 usingRatingAppearance.Builder
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RatingAppearance.Builder
Builds aRatingAppearance
.
-
Field Summary
Fields Modifier and Type Field Description static android.os.Parcelable.Creator<RatingAppearance>
CREATOR
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
CREATOR
public static final android.os.Parcelable.Creator<RatingAppearance> CREATOR
-
-
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
-
-