addInfiniteScrollConfiguration

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

configurationId

Configuration ID

minItems

Minimum number of items in the row that should be ad-free after last item with an ad shown

maxItems

Maximum number of items in the row that must contain at least one ad

variableProbability

Probability of an item containing an ad

configsOfAdsToUse

List if configurations of ads which should be used in this infinite scroll

wrapperWrapContent

Wrap r89Wrapper around the content (ad)

wrapperMatchParentHeight

Match r89Wrapper height with publishers wrapper height

wrapperMatchParentWidth

Match r89Wrapper width with publishers wrapper width

wrapperHeight

Change r89Wrapper's height in dp

wrapperWidth

Change r89Wrapper's width in dp

wrapperPosition

Change r89Wrapper's position inside of publishers wrapper WrapperPosition.(CENTER/START/END/TOP/BOTTOM)