add Infinite Scroll Configuration
fun addInfiniteScrollConfiguration(configurationId: String, minItems: Int, maxItems: Int, variableProbability: IntRange = 0..0, configsOfAdsToUse: List<String>, wrapperWrapContent: Boolean = true, wrapperMatchParentHeight: Boolean = false, wrapperMatchParentWidth: Boolean = false, wrapperHeight: Int = -1, wrapperWidth: Int = -1, wrapperPosition: WrapperPosition = WrapperPosition.CENTER): ConfigBuilder
Adds a infinite scroll configuration to the sdk
Return
ConfigBuilder after caching this configuration
Parameters
configuration Id
Configuration ID
min Items
Minimum number of items in the row that should be ad-free after last item with an ad shown
max Items
Maximum number of items in the row that must contain at least one ad
variable Probability
Probability of an item containing an ad
configs Of Ads To Use
List if configurations of ads which should be used in this infinite scroll
wrapper Wrap Content
Wrap r89Wrapper around the content (ad)
wrapper Match Parent Height
Match r89Wrapper height with publishers wrapper height
wrapper Match Parent Width
Match r89Wrapper width with publishers wrapper width
wrapper Height
Change r89Wrapper's height in dp
wrapper Width
Change r89Wrapper's width in dp
wrapper Position
Change r89Wrapper's position inside of publishers wrapper WrapperPosition.(CENTER/START/END/TOP/BOTTOM)