java.lang.Object | ||
↳ | com.google.firebase.appindexing.builders.IndexableBuilder<com.google.firebase.appindexing.builders.AggregateRatingBuilder> | |
↳ | com.google.firebase.appindexing.builders.AggregateRatingBuilder |
Builder to construct an Indexable
for aggregate rating.
The aggregate rating can only be used as a parameter of other builders, and it cannot be
passed to update(Indexable...)
directly.
For reference, see: http://schema.org/AggregateRating.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Sets the count of total number of ratings.
| |||||||||||
Sets the rating value.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Sets the count of total number of ratings.
Parameters | |
---|---|
ratingCount |
long :
The count of total number of ratings.
|
Returns | |
---|---|
AggregateRatingBuilder |
Sets the rating value.
Parameters | |
---|---|
ratingValue |
String :
The rating value, ranged from 0.0 to 5.0. For example, "4.5".
|
Returns | |
---|---|
AggregateRatingBuilder |