PrebidMobilePluginRenderer
@objc
public protocol PrebidMobilePluginRenderer
Undocumented
-
Undocumented
Declaration
Swift
@objc var name: String { get }
-
Undocumented
Declaration
Swift
@objc var version: String { get }
-
Undocumented
Declaration
Swift
@objc var data: [AnyHashable : Any]? { get }
-
Creates and returns Banner View for a given Bid Response Returns nil in the case of an internal error
Declaration
Swift
@objc func createBannerAdView(with frame: CGRect, bid: Bid, adConfiguration: AdUnitConfig, connection: PrebidServerConnectionProtocol, adViewDelegate: (any PBMAdViewDelegate)?)
-
createInterstitialController(bid:
adConfiguration: connection: adViewManagerDelegate: videoControlsConfig: ) Creates and returns an implementation of PrebidMobileInterstitialControllerInterface for a given bid response Returns nil in the case of an internal error
Declaration
Swift
@objc optional func createInterstitialController( bid: Bid, adConfiguration: AdUnitConfig, connection: PrebidServerConnectionProtocol, adViewManagerDelegate: InterstitialController?, videoControlsConfig: VideoControlsConfiguration?)
-
Returns true only if the given ad unit could be renderer by the plugin
Declaration
Swift
@objc func isSupportRendering(for format: AdFormat?) -> Bool
-
Register a listener related to a specific ad unit config fingerprint in order to dispatch specific ad events
Declaration
Swift
@objc optional func registerEventDelegate(pluginEventDelegate: PluginEventDelegate, adUnitConfigFingerprint: String)
-
Unregister a listener related to a specific ad unit config fingerprint in order to dispatch specific ad events
Declaration
Swift
@objc optional func unregisterEventDelegate(pluginEventDelegate: PluginEventDelegate, adUnitConfigFingerprint: String)
-
Setup a bid for a given ad unit configuration
Declaration
Swift
@objc func setupBid(_ bid: PrebidMobile.Bid, adConfiguration: PrebidMobile.AdUnitConfig, connection: PrebidServerConnectionProtocol)