Package com.inmobi.ads.rendering.mraid
Class ResizeProperties
-
- All Implemented Interfaces:
public final class ResizeProperties
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringDEFAULT_POSITIONprivate Integerwidthprivate Integerheightprivate IntegeroffsetXprivate IntegeroffsetYprivate StringcustomClosePositionprivate BooleanallowOffscreen
-
Constructor Summary
Constructors Constructor Description ResizeProperties(String customClosePosition, Boolean allowOffscreen)
-
Method Summary
Modifier and Type Method Description final IntegergetWidth()final UnitsetWidth(Integer width)final IntegergetHeight()final UnitsetHeight(Integer height)final IntegergetOffsetX()final UnitsetOffsetX(Integer offsetX)final IntegergetOffsetY()final UnitsetOffsetY(Integer offsetY)final StringgetCustomClosePosition()final UnitsetCustomClosePosition(String customClosePosition)final BooleangetAllowOffscreen()final UnitsetAllowOffscreen(Boolean allowOffscreen)final StringtoJson()final static ResizePropertiesfromJson(String json, ResizeProperties rp)-
-
Method Detail
-
getOffsetX
final Integer getOffsetX()
-
setOffsetX
final Unit setOffsetX(Integer offsetX)
-
getOffsetY
final Integer getOffsetY()
-
setOffsetY
final Unit setOffsetY(Integer offsetY)
-
getCustomClosePosition
final String getCustomClosePosition()
-
setCustomClosePosition
final Unit setCustomClosePosition(String customClosePosition)
-
getAllowOffscreen
final Boolean getAllowOffscreen()
-
setAllowOffscreen
final Unit setAllowOffscreen(Boolean allowOffscreen)
-
fromJson
final static ResizeProperties fromJson(String json, ResizeProperties rp)
-
-
-
-