com.yandex.mobile.ads.nativeads.template.appearance
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 a
RatingAppearance
.Constructor Summary
Constructor and Description |
---|
Builder()
Creates a new
RatingAppearance.Builder for constructing a RatingAppearance |
Method Summary
Modifier and Type | Method and Description |
---|---|
RatingAppearance | build()
Constructs a
RatingAppearance 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.
|
Method Detail
build
@NonNull public RatingAppearance build()
Constructs a
RatingAppearance
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.