iosMain.io.bidapp.core.CreateBidAdInfo.ios.kt Maven / Gradle / Ivy
package io.bidapp.core
import cocoapods.bidapp.loadSessionId
import cocoapods.bidapp.networkId
import cocoapods.bidapp.showSessionId
import cocoapods.bidapp.waterfallId
import kotlinx.cinterop.ExperimentalForeignApi
@OptIn(ExperimentalForeignApi::class)
public fun createBidAdInfo(adInfo: cocoapods.bidapp.BIDAdInfo): BIDAdInfo {
return BIDAdInfo(
adInfo.format.name,
null,
adInfo.networkId,
adInfo.waterfallId,
adInfo.loadSessionId,
adInfo.showSessionId
)
}