Class MobileSdkPassThrough
- java.lang.Object
-
- org.prebid.mobile.rendering.models.openrtb.bidRequests.MobileSdkPassThrough
-
public class MobileSdkPassThrough extends java.lang.ObjectA class responsible for parsing "prebidmobilesdk" pass through type from bid response. It contains interstitial control settings, like close button size or skip delay. It can be located in ext.prebid.passthrough[] or seatbid[].bid[].ext.prebid.passthrough[].
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.DoublecloseButtonAreaPositioncloseButtonPositionjava.lang.BooleanisMutedjava.lang.IntegermaxVideoDurationjava.lang.DoubleskipButtonAreaPositionskipButtonPositionjava.lang.IntegerskipDelay
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MobileSdkPassThroughcombine(MobileSdkPassThrough unifiedPassThrough, AdUnitConfiguration configuration)Combines unified pass through object with rendering controls from ad unit configuration.static MobileSdkPassThroughcombine(MobileSdkPassThrough fromBid, MobileSdkPassThrough fromRoot)Creates unified MobileSdkPassThrough.static MobileSdkPassThroughcreate(org.json.JSONObject extJson)voidmodifyAdUnitConfiguration(AdUnitConfiguration adUnitConfiguration)
-
-
-
Field Detail
-
isMuted
public java.lang.Boolean isMuted
-
maxVideoDuration
public java.lang.Integer maxVideoDuration
-
skipDelay
public java.lang.Integer skipDelay
-
closeButtonArea
public java.lang.Double closeButtonArea
-
skipButtonArea
public java.lang.Double skipButtonArea
-
closeButtonPosition
public Position closeButtonPosition
-
skipButtonPosition
public Position skipButtonPosition
-
-
Method Detail
-
create
public static MobileSdkPassThrough create(org.json.JSONObject extJson)
-
combine
public static MobileSdkPassThrough combine(MobileSdkPassThrough fromBid, MobileSdkPassThrough fromRoot)
Creates unified MobileSdkPassThrough. An object from bid has higher priority.- Parameters:
fromBid- - object from seatbid[].bid[].ext.prebid.passthrough[]fromRoot- - object from ext.prebid.passthrough[]
-
combine
public static MobileSdkPassThrough combine(MobileSdkPassThrough unifiedPassThrough, AdUnitConfiguration configuration)
Combines unified pass through object with rendering controls from ad unit configuration. Settings from ad unit configuration have lower priority.
-
modifyAdUnitConfiguration
public void modifyAdUnitConfiguration(AdUnitConfiguration adUnitConfiguration)
-
-