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