Package com.unity3d.mediation
Class LevelPlayAdSize
-
- All Implemented Interfaces:
public final class LevelPlayAdSizeLevelPlayAdSize represents the different ad sizes.
-
-
Field Summary
Fields Modifier and Type Field Description public final static LevelPlayAdSizeBANNERpublic final static LevelPlayAdSizeMEDIUM_RECTANGLEpublic final static LevelPlayAdSizeLEADERBOARDpublic final static LevelPlayAdSizeLARGEprivate final BooleanisAdaptive
-
Method Summary
Modifier and Type Method Description final BooleanisAdaptive()final IntegergetWidth()final IntegergetHeight()final StringgetDescription()StringtoString()Booleanequals(Object other)IntegerhashCode()final static LevelPlayAdSizecreateCustomSize(Integer width, Integer height)final static LevelPlayAdSizecreateAdaptiveAdSize(Context context, Integer width)final static LevelPlayAdSizecreateAdaptiveAdSize(Context context)-
-
Method Detail
-
isAdaptive
final Boolean isAdaptive()
-
getDescription
final String getDescription()
-
createCustomSize
final static LevelPlayAdSize createCustomSize(Integer width, Integer height)
-
createAdaptiveAdSize
@JvmOverloads() final static LevelPlayAdSize createAdaptiveAdSize(Context context, Integer width)
-
createAdaptiveAdSize
@JvmOverloads() final static LevelPlayAdSize createAdaptiveAdSize(Context context)
-
-
-
-