PrebidMobilePluginRegister
@objc
public class PrebidMobilePluginRegister : NSObject
Global singleton responsible to store plugin renderer instances
-
Undocumented
Declaration
Swift
@objc public static let shared: PrebidMobilePluginRegister
-
Register plugin as renderer
Declaration
Swift
@objc public func registerPlugin(_ renderer: PrebidMobilePluginRenderer)
-
Undocumented
Declaration
Swift
@objc public func unregisterPlugin(_ renderer: PrebidMobilePluginRenderer)
-
Contains plugin
Declaration
Swift
@objc public func containsPlugin(_ renderer: PrebidMobilePluginRenderer) -> Bool
-
Register event delegate
Declaration
Swift
@objc public func registerEventDelegate(_ pluginEventDelegate: PluginEventDelegate, adUnitConfigFingerprint: String)
-
Unregister event delegate
Declaration
Swift
@objc public func unregisterEventDelegate(_ pluginEventDelegate: PluginEventDelegate, adUnitConfigFingerprint: String)
-
Returns the list of available renderers for the given ad unit for RTB request
Declaration
Swift
@objc public func getRTBListOfRenderersFor(for adUnit: AdUnitConfig) -> [PrebidMobilePluginRenderer]
-
Returns the registered renderer according to the preferred renderer name in the bid response If no preferred renderer is found, it returns PrebidRenderer to perform default behavior Once bid is win we want to resolve the best PluginRenderer candidate to render the ad
Declaration
Swift
@objc public func getPluginForPreferredRenderer(bid: Bid) -> PrebidMobilePluginRenderer
-
Undocumented
Declaration
Swift
@objc public func getAllPlugins() -> [PrebidMobilePluginRenderer]