Class PrebidContextHolder


  • public class PrebidContextHolder
    extends java.lang.Object
    Global Context holder for Prebid SDK.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void clearContext()
      It clears Context reference and thereby SDK will skip any fetch demand calls.
      static android.content.Context getContext()  
      static void setContext​(android.content.Context context)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getContext

        public static android.content.Context getContext()
      • setContext

        public static void setContext​(android.content.Context context)
      • clearContext

        public static void clearContext()
        It clears Context reference and thereby SDK will skip any fetch demand calls. Must be called only if initialization is failed.