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 -
Undocumented
Declaration
Swift
@objc public func setHostURL(_ urlString: String?, nonTrackingURLString: String?) throws -
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