com.yandex.mobile.ads.common
Class BidderTokenLoader
java.lang.Object
com.yandex.mobile.ads.common.BidderTokenLoader
public final class BidderTokenLoader
extends java.lang.Object
Class contains logic that creates a bidder token to be used in the mediation. Bidder token is generated asynchronously.
Method Summary
Modifier and Type | Method and Description |
---|---|
static void | loadBidderToken(android.content.Context context, BidderTokenLoadListener listener)
Creates bidder token and dispatches results into listener.
|
Method Detail
loadBidderToken
public static void loadBidderToken(@NonNull android.content.Context context, @NonNull BidderTokenLoadListener listener)
Creates bidder token and dispatches results into listener.
- Parameters:
context
- The activity context the view is running in, through which it can access the current theme, resources, etc. In particular, it uses the window manager and theme in this context to present its UI.listener
- Listener to receive result of token generation.