Package com.yandex.mobile.ads.common
Class BidderTokenLoader
- java.lang.Object
-
- com.yandex.mobile.ads.common.BidderTokenLoader
-
public final class BidderTokenLoader extends java.lang.Object
Interface contains logic that creates a bidder token to be used in the mediation. Bidder token is generated asynchronously.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static void
loadBidderToken(android.content.Context context, BidderTokenLoadListener listener)
Deprecated.static void
loadBidderToken(android.content.Context context, com.yandex.mobile.ads.common.BidderTokenRequestConfiguration bidderTokenRequestConfiguration, BidderTokenLoadListener listener)
Creates bidder token via request parameters and dispatches results into listener.
-
-
-
Method Detail
-
loadBidderToken
@Deprecated public static void loadBidderToken(@NonNull android.content.Context context, @NonNull BidderTokenLoadListener listener)
Deprecated.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.
-
loadBidderToken
public static void loadBidderToken(@NonNull android.content.Context context, @NonNull com.yandex.mobile.ads.common.BidderTokenRequestConfiguration bidderTokenRequestConfiguration, @NonNull BidderTokenLoadListener listener)
Creates bidder token via request parameters 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.bidderTokenRequestConfiguration
- The request object contains parameters to fetch a bidder token.listener
- Listener to receive result of token generation.
-
-