Class InterstitialSizes

java.lang.Object
org.prebid.mobile.rendering.interstitial.InterstitialSizes

public class InterstitialSizes extends Object
Contains enums for InterstitialVideo sizes and methods to determine if video should be portrait, landscape or aspect ratio
  • Constructor Details

    • InterstitialSizes

      public InterstitialSizes()
  • Method Details

    • isPortrait

      public static boolean isPortrait(String size)
      Parameters:
      size - - String with video resolution
      Returns:
      true if the given size is defined in Vertical enums
    • isLandscape

      public static boolean isLandscape(String size)
      Parameters:
      size - - String with video resolution
      Returns:
      true if the given size is defined in Landscape enums