Package org.prebid.mobile.rendering.sdk
Class PrebidContextHolder
java.lang.Object
org.prebid.mobile.rendering.sdk.PrebidContextHolder
Global Context holder for Prebid SDK.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidIt clears Context reference and thereby SDK will skip any fetch demand calls.static android.content.Contextstatic voidsetContext(android.content.Context context)
-
Method Details
-
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.
-