Class ISBannerSize

    • Constructor Detail

      • ISBannerSize

        ISBannerSize(int width, int height)
      • ISBannerSize

        ISBannerSize(String description, int width, int height)
    • Method Detail

      • getMaximalAdaptiveHeight

         static int getMaximalAdaptiveHeight(int width)

        Calculates and returns the maximum height of an adaptive banner for a given width.

        If there are no adaptive banner supporting networks, the return value will be -1.

        Parameters:
        width - The specified width for which the maximum height is calculated.
        Returns:

        The maximal height of an adaptive banner, or -1 if no supporting networks are found.