Package 

Class AppstockAdSize


  • 
    public class AppstockAdSize
    
                        

    AdSize class defines the size of the ad slot to be made available for auction.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int width
      private int height
    • Constructor Summary

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

      Modifier and Type Method Description
      int getWidth() Returns the width of the ad container
      int getHeight() Returns the height of the ad container
      boolean equals(Object o)
      int hashCode()
      • Methods inherited from class java.lang.Object

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

      • AppstockAdSize

        AppstockAdSize(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