Package com.yandex.mobile.ads.nativeads
Interface Rating
-
- All Superinterfaces:
com.monetization.ads.nativeads.RatingAsset
public interface Rating extends com.monetization.ads.nativeads.RatingAssetInterface allows ad to set rating value to arbitrary view.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description floatgetRating()Returns rating represented by float value in interval from 0 to 5.voidsetRating(float rating)Sets rating value.
-
-
-
Method Detail
-
getRating
float getRating()
Returns rating represented by float value in interval from 0 to 5.- Specified by:
getRatingin interfacecom.monetization.ads.nativeads.RatingAsset- Returns:
- rating.
-
setRating
void setRating(float rating)
Sets rating value.- Specified by:
setRatingin interfacecom.monetization.ads.nativeads.RatingAsset- Parameters:
rating- Rating represented by Float value in interval from 0 to 5.
-
-