Class 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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void loadBidderToken​(android.content.Context context, BidderTokenLoadListener listener)
      Creates bidder token and dispatches results into listener.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.