Class InterstitialSizes
- java.lang.Object
-
- org.prebid.mobile.rendering.interstitial.InterstitialSizes
-
public class InterstitialSizes extends java.lang.ObjectContains enums for InterstitialVideo sizes and methods to determine if video should be portrait, landscape or aspect ratio
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInterstitialSizes.InterstitialSize
-
Constructor Summary
Constructors Constructor Description InterstitialSizes()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisLandscape(java.lang.String size)static booleanisPortrait(java.lang.String size)
-
-
-
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
-
-