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.Object
Builds aRatingAppearance
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Creates a newRatingAppearance.Builder
for constructing aRatingAppearance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RatingAppearance
build()
Constructs aRatingAppearance
with the specified appearance values.RatingAppearance.Builder
setBackgroundStarColor(int backgroundStarColor)
Returns Rating appearance configured with background star color.RatingAppearance.Builder
setProgressStarColor(int progressStarColor)
Returns Rating appearance configured with progress star color.
-
-
-
Constructor Detail
-
Builder
public Builder()
Creates a newRatingAppearance.Builder
for constructing aRatingAppearance
-
-
Method Detail
-
build
@NonNull public RatingAppearance build()
Constructs aRatingAppearance
with 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.
-
-