Class AdSize

java.lang.Object
org.prebid.mobile.AdSize

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

    • 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 Details

    • getWidth

      public int getWidth()
      Returns the width of the ad container
      Returns:
      width
    • getHeight

      public int getHeight()
      Returns the height of the ad container
      Returns:
      height
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object