Class AdSize


  • public class AdSize
    extends java.lang.Object
    AdSize class defines the size of the ad slot to be made available for auction.
    • Constructor Summary

      Constructors 
      Constructor Description
      AdSize​(int width, int height)
      Creates an ad size object with width and height as specified
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

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

      • AdSize

        public AdSize​(int width,
                      int height)
        Creates an ad size object with width and height as specified
        Parameters:
        width - width of the ad container
        height - height of the ad container
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object