Interface Rating

  • All Implemented Interfaces:

    
    public interface Rating
    
                        

    Interface for passing a rating value from a NativeAd to a custom view.

    Implement this interface in your custom view to receive and display ad ratings.

    • 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 Unit setRating(Float rating) Sets the rating value to be displayed.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • setRating

         abstract Unit setRating(Float rating)

        Sets the rating value to be displayed.

        Parameters:
        rating - The rating value, typically between 0 and 5.