Interface Rating

  • All Implemented Interfaces:
    com.monetization.ads.nativeads.RatingAsset

    
    public interface Rating
     implements RatingAsset
                        

    Interface allows ad to set rating value to arbitrary view.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Float getRating() Returns rating represented by float value in interval from 0 to 5.
      abstract Unit setRating(Float rating) Sets rating value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getRating

         abstract Float getRating()

        Returns rating represented by float value in interval from 0 to 5.

      • setRating

         abstract Unit setRating(Float rating)

        Sets rating value.

        Parameters:
        rating - Rating represented by Float value in interval from 0 to 5.