Class InterstitialSizes


  • public class InterstitialSizes
    extends java.lang.Object
    Contains enums for InterstitialVideo sizes and methods to determine if video should be portrait, landscape or aspect ratio
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isLandscape​(java.lang.String size)  
      static boolean isPortrait​(java.lang.String size)  
      • Methods inherited from class java.lang.Object

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

      • InterstitialSizes

        public InterstitialSizes()
    • Method Detail

      • isPortrait

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

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