Class InterstitialSizes
java.lang.Object
org.prebid.mobile.rendering.interstitial.InterstitialSizes
Contains enums for InterstitialVideo sizes and methods to determine if video should be portrait,
landscape or aspect ratio
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisLandscape(String size) static booleanisPortrait(String size)
-
Constructor Details
-
InterstitialSizes
public InterstitialSizes()
-
-
Method Details
-
isPortrait
- Parameters:
size- - String with video resolution- Returns:
- true if the given size is defined in Vertical enums
-
isLandscape
- Parameters:
size- - String with video resolution- Returns:
- true if the given size is defined in Landscape enums
-