BidderTokenLoader

@objc(YMABidderTokenLoader)
@objcMembers
public class BidderTokenLoader : NSObject

Class contains logic that creates a bidder token to be used in the mediation. Bidder token is generated asynchronously.

  • Initializes a new object of the BidderTokenLoader class.

    Declaration

    Swift

    public convenience init(mediationNetworkName: String)

    Parameters

    mediationNetworkName

    An ad network name.

    Return Value

    An object of the BidderTokenLoader class.

  • Undocumented

    Declaration

    Swift

    override public convenience init()
  • Creates bidder token and dispatches results into completionHandler.

    Declaration

    Swift

    public func loadBidderToken(
        requestConfiguration: BidderTokenRequestConfiguration,
        completionHandler: @escaping YMABidderTokenLoaderCompletion
    )

    Parameters

    requestConfiguration

    Request configuration for generating bidder token.

    completionHandler

    Bidder token loading handler.