Host
@objcMembers
public class Host : NSObject
A singleton class that manages the Prebid server URL, including a custom URL.
-
The class is created as a singleton object & used
Declaration
Swift
public static let shared: Host
-
The CustomHost property holds the URL for the custom prebid adaptor
Declaration
Swift
@available(*, deprecated, message: "This method is deprecated. In the upcoming major release, the method will be removed. Please, use setHostURL instead.") @objc public func setCustomHostURL(_ urlString: String?) throws
-
Undocumented
Declaration
Swift
@objc public func setHostURL(_ urlString: String?, nonTrackingURLString: String?) throws
-
This function retrieves the prebid server URL for the selected host
Declaration
Swift
@available(*, deprecated, message: "This method is deprecated. In the upcoming major release, the method will be removed. Please, use getHostURL instead.") public func getHostURL(host: PrebidHost) throws -> String
-
Undocumented
Declaration
Swift
public func getHostURL() throws -> String
-
This function verifies if the prebid server URL is in the url format
Declaration
Swift
public func verifyUrl(urlString: String?) -> Bool