Builder
@objc(AASDKAdswizzAdPodcastManagerBuilder)
public class Builder : NSObject
Builder to conveniently create an AdswizzAdPodcastManager instance.
-
Set the HTTP protocol. The default is
.https.Declaration
Swift
@objc public func with(httpProtocol: HTTPProtocol) -> BuilderParameters
httpProtocolhttp protocol
Return Value
the same builder object
-
Set the companion zone ID. Optional.
Declaration
Swift
@objc public func with(companionZones: String) -> BuilderParameters
companionZonescompanionZones description
Return Value
the same builder object
-
Set the Adswizz ad server. Mandatory.
Declaration
Swift
@objc public func with(adServer: String) -> BuilderParameters
adServerAdswizz server
Return Value
the same builder object.
-
Builds an
AdswizzAdPodcastManagerobject.Throws
a missing server addressDeclaration
Swift
@objc public func build() throws -> AdswizzAdPodcastManagerReturn Value
a valid
AdswizzAdPodcastManagerobject