Class RatingAppearance.Builder
- java.lang.Object
-
- com.yandex.mobile.ads.nativeads.template.appearance.RatingAppearance.Builder
-
- Enclosing class:
- RatingAppearance
public static final class RatingAppearance.Builder extends java.lang.ObjectBuilds aRatingAppearance.
-
-
Constructor Summary
Constructors Constructor Description Builder()Creates a newRatingAppearance.Builderfor constructing aRatingAppearance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RatingAppearancebuild()Constructs aRatingAppearancewith the specified appearance values.RatingAppearance.BuildersetBackgroundStarColor(int backgroundStarColor)Returns Rating appearance configured with background star color.RatingAppearance.BuildersetProgressStarColor(int progressStarColor)Returns Rating appearance configured with progress star color.
-
-
-
Constructor Detail
-
Builder
public Builder()
Creates a newRatingAppearance.Builderfor constructing aRatingAppearance
-
-
Method Detail
-
build
@NonNull public RatingAppearance build()
Constructs aRatingAppearancewith the specified appearance values.- Returns:
RatingAppearance.
-
setBackgroundStarColor
@NonNull public RatingAppearance.Builder setBackgroundStarColor(int backgroundStarColor)
Returns Rating appearance configured with background star color.- Parameters:
backgroundStarColor- Rating background star color.- Returns:
- RatingAppearance.Builder with the specified background star color.
-
setProgressStarColor
@NonNull public RatingAppearance.Builder setProgressStarColor(int progressStarColor)
Returns Rating appearance configured with progress star color.- Parameters:
progressStarColor- Rating progress star color.- Returns:
- RatingAppearance.Builder with the specified progress star color.
-
-